All of lore.kernel.org
 help / color / mirror / Atom feed
* Check IMAGE_FEATURES content in recipe
@ 2018-05-10  7:37 Piotr Piwko
  2018-05-10  8:46 ` ChenQi
  0 siblings, 1 reply; 9+ messages in thread
From: Piotr Piwko @ 2018-05-10  7:37 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 642 bytes --]

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/

[-- Attachment #2: Type: text/html, Size: 976 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2018-05-11  0:05 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-10  7:37 Check IMAGE_FEATURES content in recipe Piotr Piwko
2018-05-10  8:46 ` ChenQi
2018-05-10  8:54   ` André Draszik
2018-05-10  8:59   ` Piotr Piwko
2018-05-10  9:22     ` Burton, Ross
2018-05-10 15:06       ` Marcelo E. Magallon
2018-05-11  0:04         ` Paul Eggleton
2018-05-10 10:54     ` Alexander Kanavin
2018-05-10 11:29       ` Piotr Piwko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.