mirror of
https://git.yoctoproject.org/poky
synced 2026-03-06 15:29:40 +01:00
systemd-boot: create output dir if it doesn't exist
build_efi_cfg function creates configuration files for systemd-boot entries in 'S' directory. This directory may not exist when api is called, which breaks the build. Creating the directory if it doesn't exist should fix this issue. (From OE-Core rev: 2731d1efba7a03b2c658c8bb57629f5469184599) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
a3d160f9e5
commit
95bdb9a1bc
@@ -99,6 +99,8 @@ python build_efi_cfg() {
|
||||
bb.fatal('OVERRIDES not defined')
|
||||
|
||||
entryfile = "%s/%s.conf" % (s, label)
|
||||
if not os.path.exists(s):
|
||||
os.makedirs(s)
|
||||
d.appendVar("SYSTEMD_BOOT_ENTRIES", " " + entryfile)
|
||||
try:
|
||||
entrycfg = open(entryfile, "w")
|
||||
|
||||
Reference in New Issue
Block a user