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

2021-12-01 Thread Alexander Kanavin
Nevermind, I do now :) Alex On Wed, 1 Dec 2021 at 17:26, Alexander Kanavin wrote: > Not seeing that in v4 :) > > Alex > > On Wed, 1 Dec 2021 at 17:14, Pavel Zhukov wrote: > >> Thanks. Done in v4. >> >> -- >> Pavel >> >> >> >> 01.12.2021, 17:08, "Alexander Kanavin" : >> >> Thanks :) You can

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

2021-12-01 Thread Alexander Kanavin
Not seeing that in v4 :) Alex On Wed, 1 Dec 2021 at 17:14, Pavel Zhukov wrote: > Thanks. Done in v4. > > -- > Pavel > > > > 01.12.2021, 17:08, "Alexander Kanavin" : > > Thanks :) You can add the failure into the commit message. > > Alex > > On Wed, 1 Dec 2021 at 17:00, Pavel Zhukov wrote: > >

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

2021-12-01 Thread Pavel Zhukov
Thanks. Done in v4. -- Pavel   01.12.2021, 17:08, "Alexander Kanavin" :Thanks :) You can add the failure into the commit message. Alex On Wed, 1 Dec 2021 at 17:00, Pavel Zhukov wrote:without change in patch.py:ERROR: man-db-2.9.0-r1 do_patch: Applying patch

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

2021-12-01 Thread Alexander Kanavin
Thanks :) You can add the failure into the commit message. Alex On Wed, 1 Dec 2021 at 17:00, Pavel Zhukov wrote: > without change in patch.py: > ERROR: man-db-2.9.0-r1 do_patch: Applying patch > 'man_db.conf-avoid-multilib-install-file-conflict.patch' on target > directory >

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

2021-12-01 Thread Pavel Zhukov
without change in patch.py:ERROR: man-db-2.9.0-r1 do_patch: Applying patch 'man_db.conf-avoid-multilib-install-file-conflict.patch' on target directory '/mnt/builds/oniroproject/builds/build-oniro-linux-st/tmp/work/core2-64-oniro-linux-musl/man-db/2.9.0-r1/man-db-2.9.0'Command Error: 'git

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

2021-12-01 Thread Alexander Kanavin
Does the test fail without the change in lib/oepatch.py? Can you show how? Alex On Wed, 1 Dec 2021 at 15:17, Pavel Zhukov wrote: > 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 >

[OE-core] [meta-oe][PATCH v2] 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|