diff options
Diffstat (limited to 'meta/classes/systemd-boot.bbclass')
-rw-r--r-- | meta/classes/systemd-boot.bbclass | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/systemd-boot.bbclass b/meta/classes/systemd-boot.bbclass index 6718783367..6a2cbc8a93 100644 --- a/meta/classes/systemd-boot.bbclass +++ b/meta/classes/systemd-boot.bbclass | |||
@@ -72,6 +72,9 @@ python build_efi_cfg() { | |||
72 | return | 72 | return |
73 | 73 | ||
74 | cfile = d.getVar('SYSTEMD_BOOT_CFG') | 74 | cfile = d.getVar('SYSTEMD_BOOT_CFG') |
75 | cdir = os.path.dirname(cfile) | ||
76 | if not os.path.exists(cdir): | ||
77 | os.makedirs(cdir) | ||
75 | try: | 78 | try: |
76 | cfgfile = open(cfile, 'w') | 79 | cfgfile = open(cfile, 'w') |
77 | except OSError: | 80 | except OSError: |