From 3449ae0f5dbaa0b9d7a64d1300156763346b61fc 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. (From OE-Core rev: 56ab83611d9737b42f05586d2c45d5c438cfc293) Signed-off-by: California Sullivan Signed-off-by: Richard Purdie --- meta/classes/grub-efi-cfg.bbclass | 6 ------ 1 file changed, 6 deletions(-) (limited to 'meta/classes/grub-efi-cfg.bbclass') 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-54-g00ecf