diff options
Diffstat (limited to 'meta/classes/grub-efi-cfg.bbclass')
-rw-r--r-- | meta/classes/grub-efi-cfg.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/grub-efi-cfg.bbclass b/meta/classes/grub-efi-cfg.bbclass index 5eeee6c2e3f..e5a8307be11 100644 --- a/meta/classes/grub-efi-cfg.bbclass +++ b/meta/classes/grub-efi-cfg.bbclass @@ -91,7 +91,7 @@ python build_efi_cfg() { lb = label if label == "install": lb = "install-efi" - kernel = localdata.getVar('KERNEL_IMAGETYPE') + kernel = localdata.getVar('KERNEL_IMAGETYPES').split()[0] cfgfile.write('linux /%s LABEL=%s' % (kernel, lb)) cfgfile.write(' %s' % replace_rootfs_uuid(d, root)) |