]> code.ossystems Code Review - openembedded-core.git/commitdiff
bootimg: set default value for LABELS variable
authorEd Bartosh <ed.bartosh@linux.intel.com>
Tue, 1 Mar 2016 09:00:56 +0000 (11:00 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 2 Mar 2016 23:08:07 +0000 (23:08 +0000)
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>
meta/classes/bootimg.bbclass

index 7946839ce0f3b33f48e94d515fda85cc7c8ac213..0249a9dcf76dbbbed9e10497433ca33c0d3e25d1 100644 (file)
@@ -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.