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 -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
