[yocto] image inheritance problem
Khem Raj
raj.khem at gmail.com
Fri Jan 26 10:57:33 PST 2018
On 1/26/18 10:52 AM, Martin Townsend wrote:
> Hi,
>
> I have an image say
>
> my-image-minimal.bb in one layer and and append this
> (my-image-minimal.bbappend) in another layer. In this append I'm adding
> IMAGE_INSTALL += "kernel-modules"
> for example.
>
> Now if I run
> bitbake my-image-minimal -e | grep ^IMAGE_INSTALL
> I see kernel-modules
>
> So bbappend is working, now I have another image
>
> my-image which has
> requires /core/images/my-image-minimal.bb
> ...
>
> But kernel-modules is not appearing in this image and
> bitbake my-image -e | grep ^IMAGE_INSTALL
>
> confirms this.
>
> Any ideas as to what I'm doing wrong, I assume bitbake supports this.
>
in second case you are including the .bb file so its behaving as an
include file.
bbappend only applies to parsed recipes not include files.
> I'm using the Krogoth release.
>
> Many Thanks in advance,
> Martin.
>
More information about the yocto
mailing list