[yocto] Check IMAGE_FEATURES content in recipe
Piotr Piwko
piotr.piwko at gmail.com
Thu May 10 00:37:41 PDT 2018
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/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20180510/7187d292/attachment.html>
More information about the yocto
mailing list