diff options
author | California Sullivan <california.l.sullivan@intel.com> | 2018-02-28 18:15:16 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-03-06 06:35:42 -0800 |
commit | 3449ae0f5dbaa0b9d7a64d1300156763346b61fc (patch) | |
tree | f10eb35068e0f9b6ba13c618dd2b56f7201b8448 /meta/classes | |
parent | 7e9b658196ed0e4ee475d0e0a2836e851b6ede4f (diff) | |
download | poky-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')
-rw-r--r-- | meta/classes/grub-efi-cfg.bbclass | 6 |
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": |