[OE-core] [PATCH v2 1/1] image-mode.bbclass: common infrastructure for choosing image defaults
Patrick Ohly
patrick.ohly at intel.com
Wed May 17 08:38:06 UTC 2017
On Wed, 2017-05-17 at 09:58 +0200, Patrick Ohly wrote:
[...]
> + valid = d.getVar('IMAGE_MODE_VALID') or ''
> + if mode not in valid.split():
> + bb.fatal('Invalid image mode: IMAGE_MODE=%s (not in %s)' % (image_mode, valid))
> +}
A dedicated error message for the "IMAGE_MODE_VALID is empty" case is
needed. But let me wait for reactions before posting a v3.
--
Best Regards, Patrick Ohly
The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.
More information about the Openembedded-core
mailing list