Re: [OE-core] [PATCH] patch.py: Initialize git repo before patching

2021-12-01 Thread Pavel Zhukov
Hi Konrad,Test (very simple one) has been added (see v2). I'm not familiar with testsuite so please excuse me if I put it into wrong place. Also I'm not sure if it's ok to keep test more general (catch all errors like I did) or I have to check for specific error message. -- Pavel   01.12.2021, 14:2

Re: [OE-core] [PATCH] patch.py: Initialize git repo before patching

2021-12-01 Thread Konrad Weihmann
Could you please add a test case for that to the testing suite, as I'm having issues to understand under what circumstances we are getting into such kind of situation On 01.12.21 14:19, Pavel Zhukov wrote: From: Pavel Zhukov If PATCHTOOL="git" has been specified but workdir is not git repo b

[OE-core] [PATCH] patch.py: Initialize git repo before patching

2021-12-01 Thread Pavel Zhukov
From: Pavel Zhukov If PATCHTOOL="git" has been specified but workdir is not git repo bitbake fails to apply the patches. Fix this by initializing the repo before patching. This allows binary git patches to be applied. Signed-off-by: Pavel Zhukov --- meta/lib/oe/patch.py | 17 +