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() { | |||
| 54 | if not workdir: | 54 | if not workdir: |
| 55 | bb.error("WORKDIR not defined, unable to package") | 55 | bb.error("WORKDIR not defined, unable to package") |
| 56 | return | 56 | return |
| 57 | 57 | ||
| 58 | labels = d.getVar('LABELS', True) | 58 | labels = d.getVar('LABELS', True) |
| 59 | if not labels: | 59 | if not labels: |
| 60 | bb.debug(1, "LABELS not defined, nothing to do") | 60 | bb.debug(1, "LABELS not defined, nothing to do") |
| 61 | return | 61 | return |
| 62 | 62 | ||
| 63 | if labels == []: | 63 | if labels == []: |
| 64 | bb.debug(1, "No labels, nothing to do") | 64 | bb.debug(1, "No labels, nothing to do") |
| 65 | return | 65 | return |
| @@ -109,7 +109,7 @@ python build_grub_cfg() { | |||
| 109 | if append: | 109 | if append: |
| 110 | cfgfile.write('%s' % (append)) | 110 | cfgfile.write('%s' % (append)) |
| 111 | cfgfile.write('\n') | 111 | cfgfile.write('\n') |
| 112 | 112 | ||
| 113 | if initrd: | 113 | if initrd: |
| 114 | cfgfile.write('initrd /initrd') | 114 | cfgfile.write('initrd /initrd') |
| 115 | cfgfile.write('\n}\n') | 115 | cfgfile.write('\n}\n') |
