[gnome-continuous-yocto/gnomeostree-3.28-rocko: 1984/8267] syslinux.bbclass: ensure creation of output directory
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous-yocto/gnomeostree-3.28-rocko: 1984/8267] syslinux.bbclass: ensure creation of output directory
- Date: Sat, 16 Dec 2017 22:35:36 +0000 (UTC)
commit f019bb933f8016d33937d755887700f9a446408e
Author: Ed Bartosh <ed bartosh linux intel com>
Date: Fri Aug 19 17:46:39 2016 +0300
syslinux.bbclass: ensure creation of output directory
build_syslinux_cfg function creates syslinux configuration file.
The code assumes that the output directory exists, which is not
always the case. For example rm_work task removes rootfs directory
structure and causes build_syslinux_cfg to fail with this error:
Unable to open ../<image>-<version>/syslinux_vm.cfg
Made build_syslinux_cfg depend on output directory to ensure that
directory is created before running the function.
[YOCTO #10159]
(From OE-Core rev: c39b072fa7e96f385da338a727c67e607308d637)
Signed-off-by: Ed Bartosh <ed bartosh linux intel com>
Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>
meta/classes/syslinux.bbclass | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/meta/classes/syslinux.bbclass b/meta/classes/syslinux.bbclass
index fa3e3ec..35d9eed 100644
--- a/meta/classes/syslinux.bbclass
+++ b/meta/classes/syslinux.bbclass
@@ -196,3 +196,4 @@ python build_syslinux_cfg () {
cfgfile.close()
}
+build_syslinux_cfg[dirs] = "${S}"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]