Hi,

I would like to check in my recipe if created image is read-only or not. In
order to do so, I use the following condition which I would inside poky
sources:

if ${@bb.utils.contains('IMAGE_FEATURES', 'read-only-rootfs', 'true',
'false', d)}; then

However it seems that IMAGE_FEATURES variable is not exported to the higher
recipes. I also confirmed it's content by executing:

bitbake my-image -e | grep IMAGE_FEATURES

Is there any possibility to export this variable to my recipe or somehow
check the particular image feature?

Thank you in advance for help.

-- 
Piotr Piwko
http://www.embedded-engineering.pl/
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to