[yocto] Initramfs image name (INITRAMFS_IMAGE)
Paul Eggleton
paul.eggleton at linux.intel.com
Tue Apr 21 06:20:39 PDT 2015
Hi Marcin,
On Tuesday 21 April 2015 08:54:49 Marcin Krzemiński wrote:
> 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?
In general, one recipe cannot set a variable such that it is seen from another
recipe, our system doesn't work that way. You need to set it at the
configuration level - local.conf, or more appropriately a custom distro config
file.
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
More information about the yocto
mailing list