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. Signed-off-by: Ed Bartosh <ed.bart...@linux.intel.com> --- meta/classes/systemd-boot.bbclass | 2 ++ 1 file changed, 2 insertions(+) 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() { 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") -- 2.12.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core