summaryrefslogtreecommitdiffstats
path: root/meta/classes/grub-efi-cfg.bbclass
diff options
context:
space:
mode:
authorCalifornia Sullivan <california.l.sullivan@intel.com>2018-02-28 18:15:16 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-03-06 06:35:42 -0800
commit3449ae0f5dbaa0b9d7a64d1300156763346b61fc (patch)
treef10eb35068e0f9b6ba13c618dd2b56f7201b8448 /meta/classes/grub-efi-cfg.bbclass
parent7e9b658196ed0e4ee475d0e0a2836e851b6ede4f (diff)
downloadpoky-3449ae0f5dbaa0b9d7a64d1300156763346b61fc.tar.gz
grub-efi-cfg.bbclass: Don't reference or set OVERRIDES
There's no need to add to the local copy of overrides and then not do anything with it. Now that this function is being used in package creation it was causing sstate issues as well, as MACHINE is always in OVERRIDES, so something trivial such as the name of the MACHINE would cause the hash to change. (From OE-Core rev: 56ab83611d9737b42f05586d2c45d5c438cfc293) Signed-off-by: California Sullivan <california.l.sullivan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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":