]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
patch.py: Prevent git repo reinitialization
authorPavel Zhukov <pavel@zhukoff.net>
Mon, 7 Mar 2022 10:19:29 +0000 (11:19 +0100)
committerAnuj Mittal <anuj.mittal@intel.com>
Fri, 11 Mar 2022 02:55:24 +0000 (10:55 +0800)
commit427f4ef11beb8ceee007b5c7e152f2383a114aca
tree6e4e2adec956e09f8afda66d78dfe3780586e4a9
parentff7d5af61066eee1fdcf9b8704d60a4dc3a9da14
patch.py: Prevent git repo reinitialization

There were few bugs in the _isInitialized() function which might trigger
git repo to be reinitialized and patches failing to apply.

Signed-off-by: Pavel Zhukov <pavel.zhukov@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
meta-selftest/recipes-test/gitrepotest/gitrepotest.bb [new file with mode: 0644]
meta-selftest/recipes-test/gitrepotest/gitrepotest/0001-testpatch.patch [new file with mode: 0644]
meta/lib/oe/patch.py
meta/lib/oeqa/selftest/cases/bbtests.py