diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2016-03-01 11:00:56 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-03-02 23:08:07 +0000 |
commit | b8cb64714cb9ca3174f11a245ee1cf5367dd432f (patch) | |
tree | 65e5817201c45f6b8eb47bf8878005820832806d /meta | |
parent | 8deb14898f351bd33950291ccde7c4458c6cf506 (diff) | |
download | openembedded-core-b8cb64714cb9ca3174f11a245ee1cf5367dd432f.tar.gz openembedded-core-b8cb64714cb9ca3174f11a245ee1cf5367dd432f.tar.bz2 openembedded-core-b8cb64714cb9ca3174f11a245ee1cf5367dd432f.zip |
bootimg: set default value for LABELS variable
With empty LABELS variable build_efi_cfg skips most of its
functionality producing warning message:
'LABELS not defined, nothing to do'
This causes build failure for efi images.
Setting default value for LABELS to 'boot install' should fix
this issue.
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/bootimg.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/bootimg.bbclass b/meta/classes/bootimg.bbclass index 7946839ce0..0249a9dcf7 100644 --- a/meta/classes/bootimg.bbclass +++ b/meta/classes/bootimg.bbclass @@ -49,6 +49,8 @@ EFI_CLASS = "${@bb.utils.contains("MACHINE_FEATURES", "efi", "${EFI_PROVIDER}", KERNEL_IMAGETYPE ??= "bzImage" +LABELS ?= "boot install" + # Include legacy boot if MACHINE_FEATURES includes "pcbios" or if it does not # contain "efi". This way legacy is supported by default if neither is # specified, maintaining the original behavior. |