[oe-commits] [openembedded-core] 33/34: systemd-boot-cfg.bbclass: Don't reference or set OVERRIDES

git at git.openembedded.org git at git.openembedded.org
Sun Mar 4 21:24:22 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit c339fdc8f6519df270be17658f1e73159660b8b5
Author: California Sullivan <california.l.sullivan at intel.com>
AuthorDate: Wed Feb 28 18:15:17 2018 -0800

    systemd-boot-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 <california.l.sullivan at intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/classes/systemd-boot-cfg.bbclass | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/meta/classes/systemd-boot-cfg.bbclass b/meta/classes/systemd-boot-cfg.bbclass
index 360c86c..1077585 100644
--- a/meta/classes/systemd-boot-cfg.bbclass
+++ b/meta/classes/systemd-boot-cfg.bbclass
@@ -39,10 +39,6 @@ python build_efi_cfg() {
     for label in labels.split():
         localdata = d.createCopy()
 
-        overrides = localdata.getVar('OVERRIDES')
-        if not overrides:
-            bb.fatal('OVERRIDES not defined')
-
         entryfile = "%s/%s.conf" % (s, label)
         if not os.path.exists(s):
             os.makedirs(s)
@@ -51,7 +47,6 @@ python build_efi_cfg() {
             entrycfg = open(entryfile, "w")
         except OSError:
             bb.fatal('Unable to open %s' % entryfile)
-        localdata.setVar('OVERRIDES', label + ':' + overrides)
 
         entrycfg.write('title %s\n' % label)
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list