[yocto] Initramfs image name (INITRAMFS_IMAGE)

Marcin Krzemiński mar.krzeminski at gmail.com
Mon Apr 20 23:54:49 PDT 2015


Hi,

I want to set my initramfs image name in my image recipe.
In local.conf I've set:

INITRAMFS_IMAGE_BUNDLE="1"

In my image recipe I am setting image name:

INITRAMFS_IMAGE = "myimage-image-minimal"

Unfortunately when kernel recipe is parsed INITRAMFS_IMAGE variable i empty.
running bitbake -e tells that this variable is properly set.
I think because image recipe is parsed at the very end kernel recipe can
not see it.
I tried to use export INITRAMFS_IMAGE (like in example) but this also not
working.
Is the any way that I can do this?

Bitbake 1.22.0, yocto 1.6
My kernel and image recipe is in my custom layer.

Regards,
Marcin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20150421/751bff47/attachment.html>


More information about the yocto mailing list