[oe-commits] [openembedded-core] 01/02: bootimg: set default value for LABELS variable

git at git.openembedded.org git at git.openembedded.org
Wed Mar 2 11:45:14 UTC 2016


rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit d37895302b30f9685c4d963470c9cb4a2d652fa6
Author: Ed Bartosh <ed.bartosh at linux.intel.com>
AuthorDate: Tue Mar 1 11:00:56 2016 +0200

    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 at linux.intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/classes/bootimg.bbclass | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/classes/bootimg.bbclass b/meta/classes/bootimg.bbclass
index 7946839..0249a9d 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.

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list