summaryrefslogtreecommitdiffstats
path: root/meta/classes/grub-efi.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/grub-efi.bbclass')
-rw-r--r--meta/classes/grub-efi.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/grub-efi.bbclass b/meta/classes/grub-efi.bbclass
index 1efb43b805..147accc895 100644
--- a/meta/classes/grub-efi.bbclass
+++ b/meta/classes/grub-efi.bbclass
@@ -99,6 +99,8 @@ python build_grub_cfg() {
99 bb.data.update_data(localdata) 99 bb.data.update_data(localdata)
100 100
101 cfgfile.write('\nmenuentry \'%s\'{\n' % (label)) 101 cfgfile.write('\nmenuentry \'%s\'{\n' % (label))
102 if label == "install":
103 label = "install-efi"
102 cfgfile.write('linux /vmlinuz LABEL=%s' % (label)) 104 cfgfile.write('linux /vmlinuz LABEL=%s' % (label))
103 105
104 append = localdata.getVar('APPEND', True) 106 append = localdata.getVar('APPEND', True)