summaryrefslogtreecommitdiffstats
path: root/meta/classes/grub-efi-cfg.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/grub-efi-cfg.bbclass')
-rw-r--r--meta/classes/grub-efi-cfg.bbclass6
1 files changed, 0 insertions, 6 deletions
diff --git a/meta/classes/grub-efi-cfg.bbclass b/meta/classes/grub-efi-cfg.bbclass
index 85173c91fc..d2226af97a 100644
--- a/meta/classes/grub-efi-cfg.bbclass
+++ b/meta/classes/grub-efi-cfg.bbclass
@@ -87,13 +87,7 @@ python build_efi_cfg() {
87 for label in labels.split(): 87 for label in labels.split():
88 localdata = d.createCopy() 88 localdata = d.createCopy()
89 89
90 overrides = localdata.getVar('OVERRIDES')
91 if not overrides:
92 bb.fatal('OVERRIDES not defined')
93
94 for btype in btypes: 90 for btype in btypes:
95 localdata.setVar('OVERRIDES', label + ':' + overrides)
96
97 cfgfile.write('\nmenuentry \'%s%s\'{\n' % (label, btype[0])) 91 cfgfile.write('\nmenuentry \'%s%s\'{\n' % (label, btype[0]))
98 lb = label 92 lb = label
99 if label == "install": 93 if label == "install":