[OE-core] [PATCH v2 1/1] image-mode.bbclass: common infrastructure for choosing image defaults
Alexander Kanavin
alexander.kanavin at linux.intel.com
Wed May 17 09:49:52 UTC 2017
On 05/17/2017 10:58 AM, Patrick Ohly wrote:
> A distro might want to offer developers different, pre-defined ways of
> building an image, for example a "development" mode with easy (but
> insecure) login methods and a "production" mode with hardened
> settings.
Apologies Patrick, I still think this brings more complication than
benefits. And it's not even showcased anywhere in poky: you add the
variable, but don't take it into use anywhere. Which means it also won't
get tested.
You can do this thing by creating separate image recipes, each with
their hand picked IMAGE_FEATURES. And that includes showing appropriate
motd as well - but that perhaps would not be necessary because the image
mode would be encoded in its file name.
Alex
More information about the Openembedded-core
mailing list