Skip to contentSkip to conversation

applying patches depending on the image's name

DISCUSSION Vadim Intelegator 3 participants 3 messages Jan 9, 2018 – Feb 1, 2018

lore
Share & tools
lore
#0 lore raw

Hello,

I have several images (image-a.bb and image-b.bb) in a yocto layer and want to apply different patches to the kernel depending on the current image name. How can that be done?

Thank you in advance.

Signature · 1 line
Vadim
#1 lore raw

No, because images are built from packages, and the packages have already been built by the time the image is considered.

Using master you can build two different kernels in the same build and have different kernels in different images.

Ross

Quoted 19 lines · Vadim Intelegator

Hello,

I have several images (image-a.bb and image-b.bb) in a yocto layer and want to apply different patches to the kernel depending on the current image name.
How can that be done?

Thank you in advance.

--
Vadim

--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

#2 lore raw

Hi Ross,

This "two different kernels" feature would be useful to me.

Where can I find out how to use it?

Regards,
MV

Quoted 33 lines · Ross

No, because images are built from packages, and the packages have already been built by the time the image is considered.

Using master you can build two different kernels in the same build and have different kernels in different images.

Ross

Quoted 19 lines · Vadim Intelegator

Hello,

I have several images (image-a.bb and image-b.bb) in a yocto layer and want to apply different patches to the kernel depending on the current image name.
How can that be done?

Thank you in advance.

--
Vadim

--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto