Re: patch apply for .bb file

Quentin Schulz


Please stop spamming. It encourages people not to answer you.

You're looking for bbappends.


On November 28, 2020 9:50:29 AM GMT+01:00, NIKHIL PATIL <nikhilvp29@...> wrote:
hi ,
Is there any way to apply patches from one meta layer to another meta
layer ?

On Sat, Nov 28, 2020 at 11:56 AM NIKHIL PATIL via
<> wrote:

Hi ,
If anyone know please help.

On Sat, Nov 28, 2020 at 12:12 AM NIKHIL PATIL via
<> wrote:

Hi team ,
We are tring to apply to patch to default .bb file. means in file we did some changes but after taking patch we are
able to apply it .

* steps followd :-*
1) git status
2) git
diff yocto_build/meta-openembedded/meta-oe/recipes-navigation/gpsd/ > 0001_add_line_in_gpsd.patch
3) git

after these i applied gpsd patch
file but after appling getting following errors .

* ERRORS :-*
[INFO]: Context reduced git-am of
.kernel-meta//patches//patches/0001_add_line_in_gpsd.patch with "git
did not work, trying "apply".
| error:
yocto_build/meta-openembedded/meta-oe/recipes-navigation/gpsd/ does not exist in index
| [ERROR]: Application of
.kernel-meta//patches//patches/0001_add_line_in_gpsd.patch failed.
| Patch needs to be refreshed. Sample resolution script:
| .git/rebase-apply/resolve_rejects
| ERROR: Could not apply patches for intel-corei7-64.
| ERROR: Patch failures can be resolved in the linux source

* douts :-*
1) Can we apply a patch to default code means (files in meta
files( .bb ) in meta-intel folder, etc) ? because we are able to
apply a
patch for kernel code (driver file ) , but for .bb file patch
appling we
are facing issue .

2) how to apply a patch to default .bb file in meta layers
can u please tell procedure .

thanks in advance .

Sent from my Android device with K-9 Mail. Please excuse my brevity.

Join to automatically receive all group messages.