diff options
Diffstat (limited to 'meta/classes/grub-efi-cfg.bbclass')
-rw-r--r-- | meta/classes/grub-efi-cfg.bbclass | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/classes/grub-efi-cfg.bbclass b/meta/classes/grub-efi-cfg.bbclass index 8b5ff20c72..3a2cdd698b 100644 --- a/meta/classes/grub-efi-cfg.bbclass +++ b/meta/classes/grub-efi-cfg.bbclass | |||
@@ -88,6 +88,12 @@ python build_efi_cfg() { | |||
88 | for label in labels.split(): | 88 | for label in labels.split(): |
89 | localdata = d.createCopy() | 89 | localdata = d.createCopy() |
90 | 90 | ||
91 | overrides = localdata.getVar('OVERRIDES') | ||
92 | if not overrides: | ||
93 | bb.fatal('OVERRIDES not defined') | ||
94 | |||
95 | localdata.setVar('OVERRIDES', 'grub_' + label + ':' + overrides) | ||
96 | |||
91 | for btype in btypes: | 97 | for btype in btypes: |
92 | cfgfile.write('\nmenuentry \'%s%s\'{\n' % (label, btype[0])) | 98 | cfgfile.write('\nmenuentry \'%s%s\'{\n' % (label, btype[0])) |
93 | lb = label | 99 | lb = label |