From 56ab83611d9737b42f05586d2c45d5c438cfc293 Mon Sep 17 00:00:00 2001 From: California Sullivan Date: Wed, 28 Feb 2018 18:15:16 -0800 Subject: 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. Signed-off-by: California Sullivan Signed-off-by: Richard Purdie --- meta/classes/grub-efi-cfg.bbclass | 6 ------ 1 file changed, 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() { for label in labels.split(): localdata = d.createCopy() - overrides = localdata.getVar('OVERRIDES') - if not overrides: - bb.fatal('OVERRIDES not defined') - for btype in btypes: - localdata.setVar('OVERRIDES', label + ':' + overrides) - cfgfile.write('\nmenuentry \'%s%s\'{\n' % (label, btype[0])) lb = label if label == "install": -- cgit v1.2.3