diff options
Diffstat (limited to 'meta/classes/grub-efi.bbclass')
| -rw-r--r-- | meta/classes/grub-efi.bbclass | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/grub-efi.bbclass b/meta/classes/grub-efi.bbclass index 6d58d48704..4ddc2bb125 100644 --- a/meta/classes/grub-efi.bbclass +++ b/meta/classes/grub-efi.bbclass | |||
| @@ -26,6 +26,9 @@ GRUB_OPTS ?= "serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1" | |||
| 26 | 26 | ||
| 27 | EFIDIR = "/EFI/BOOT" | 27 | EFIDIR = "/EFI/BOOT" |
| 28 | 28 | ||
| 29 | # Need UUID utility code. | ||
| 30 | inherit fs-uuid | ||
| 31 | |||
| 29 | efi_populate() { | 32 | efi_populate() { |
| 30 | # DEST must be the root of the image so that EFIDIR is not | 33 | # DEST must be the root of the image so that EFIDIR is not |
| 31 | # nested under a top level directory. | 34 | # nested under a top level directory. |
| @@ -129,6 +132,7 @@ python build_efi_cfg() { | |||
| 129 | initrd = localdata.getVar('INITRD', True) | 132 | initrd = localdata.getVar('INITRD', True) |
| 130 | 133 | ||
| 131 | if append: | 134 | if append: |
| 135 | append = replace_rootfs_uuid(d, append) | ||
| 132 | cfgfile.write('%s' % (append)) | 136 | cfgfile.write('%s' % (append)) |
| 133 | cfgfile.write(' %s' % btype[1]) | 137 | cfgfile.write(' %s' % btype[1]) |
| 134 | cfgfile.write('\n') | 138 | cfgfile.write('\n') |
