Hi Paul, In such below sentence from local.conf.sample is wrong or I missing something here?
*# NOTE: You can set INITRAMFS_IMAGE in an image recipe, but* *# INITRAMFS_IMAGE_BUNDLE can only be set in a conf file.* Regards, Marcn 2015-04-21 15:20 GMT+02:00 Paul Eggleton <paul.eggle...@linux.intel.com>: > 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 >
-- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto