diff options
Diffstat (limited to 'meta/classes/systemd-boot-cfg.bbclass')
-rw-r--r-- | meta/classes/systemd-boot-cfg.bbclass | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/meta/classes/systemd-boot-cfg.bbclass b/meta/classes/systemd-boot-cfg.bbclass index 360c86cbd3..107758548c 100644 --- a/meta/classes/systemd-boot-cfg.bbclass +++ b/meta/classes/systemd-boot-cfg.bbclass | |||
@@ -39,10 +39,6 @@ python build_efi_cfg() { | |||
39 | for label in labels.split(): | 39 | for label in labels.split(): |
40 | localdata = d.createCopy() | 40 | localdata = d.createCopy() |
41 | 41 | ||
42 | overrides = localdata.getVar('OVERRIDES') | ||
43 | if not overrides: | ||
44 | bb.fatal('OVERRIDES not defined') | ||
45 | |||
46 | entryfile = "%s/%s.conf" % (s, label) | 42 | entryfile = "%s/%s.conf" % (s, label) |
47 | if not os.path.exists(s): | 43 | if not os.path.exists(s): |
48 | os.makedirs(s) | 44 | os.makedirs(s) |
@@ -51,7 +47,6 @@ python build_efi_cfg() { | |||
51 | entrycfg = open(entryfile, "w") | 47 | entrycfg = open(entryfile, "w") |
52 | except OSError: | 48 | except OSError: |
53 | bb.fatal('Unable to open %s' % entryfile) | 49 | bb.fatal('Unable to open %s' % entryfile) |
54 | localdata.setVar('OVERRIDES', label + ':' + overrides) | ||
55 | 50 | ||
56 | entrycfg.write('title %s\n' % label) | 51 | entrycfg.write('title %s\n' % label) |
57 | 52 | ||