diff options
Diffstat (limited to 'meta/classes/grub-efi.bbclass')
-rw-r--r-- | meta/classes/grub-efi.bbclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/grub-efi.bbclass b/meta/classes/grub-efi.bbclass index 147accc895..a093628455 100644 --- a/meta/classes/grub-efi.bbclass +++ b/meta/classes/grub-efi.bbclass @@ -54,12 +54,12 @@ python build_grub_cfg() { if not workdir: bb.error("WORKDIR not defined, unable to package") return - + labels = d.getVar('LABELS', True) if not labels: bb.debug(1, "LABELS not defined, nothing to do") return - + if labels == []: bb.debug(1, "No labels, nothing to do") return @@ -109,7 +109,7 @@ python build_grub_cfg() { if append: cfgfile.write('%s' % (append)) cfgfile.write('\n') - + if initrd: cfgfile.write('initrd /initrd') cfgfile.write('\n}\n') |