summaryrefslogtreecommitdiffstats
path: root/meta/classes/systemd-boot.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/systemd-boot.bbclass')
-rw-r--r--meta/classes/systemd-boot.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/systemd-boot.bbclass b/meta/classes/systemd-boot.bbclass
index 4e69a2c6b5..4412fb1ef7 100644
--- a/meta/classes/systemd-boot.bbclass
+++ b/meta/classes/systemd-boot.bbclass
@@ -99,6 +99,8 @@ python build_efi_cfg() {
99 bb.fatal('OVERRIDES not defined') 99 bb.fatal('OVERRIDES not defined')
100 100
101 entryfile = "%s/%s.conf" % (s, label) 101 entryfile = "%s/%s.conf" % (s, label)
102 if not os.path.exists(s):
103 os.makedirs(s)
102 d.appendVar("SYSTEMD_BOOT_ENTRIES", " " + entryfile) 104 d.appendVar("SYSTEMD_BOOT_ENTRIES", " " + entryfile)
103 try: 105 try:
104 entrycfg = open(entryfile, "w") 106 entrycfg = open(entryfile, "w")