summaryrefslogtreecommitdiffstats
path: root/meta/classes/syslinux.bbclass
diff options
context:
space:
mode:
authorDarren Hart <dvhart@linux.intel.com>2011-12-01 19:20:15 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-12-02 15:28:43 +0000
commit6a18c3b5660f99080a614180cea9f9cb655aa6fc (patch)
tree9e1619f7e6f1d19cfd439823c5ad86f0f904125d /meta/classes/syslinux.bbclass
parentd428862860f8ac7f464818977ef5aa9d733293bd (diff)
downloadpoky-6a18c3b5660f99080a614180cea9f9cb655aa6fc.tar.gz
bootimage: Use ${S} explicitly for generated config files
The syslinux and grub-efi classes were generating config files in the current working directory. This caused a failure due to a race in the creation of the directories leading to cwd changing and the build failing to find the config files. While this has been addressed in bitbake, it is better to use an explicit path. While ${WORKDIR} may seem a more appropriate place, the recipe already uses ${S} for the "hdd" and "cd" construction, so we use ${S} here to keep things consolidated and consistent and address the issue with minimal change. (From OE-Core rev: 2c4b1675eb3c8c599e3b7f33e459aa608c2b93f2) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/syslinux.bbclass')
-rw-r--r--meta/classes/syslinux.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/syslinux.bbclass b/meta/classes/syslinux.bbclass
index 6eb804b75c..91c4275747 100644
--- a/meta/classes/syslinux.bbclass
+++ b/meta/classes/syslinux.bbclass
@@ -15,8 +15,8 @@
15do_bootimg[depends] += "syslinux:do_populate_sysroot \ 15do_bootimg[depends] += "syslinux:do_populate_sysroot \
16 syslinux-native:do_populate_sysroot" 16 syslinux-native:do_populate_sysroot"
17 17
18SYSLINUXCFG = "syslinux.cfg" 18SYSLINUXCFG = "${S}/syslinux.cfg"
19SYSLINUXMENU = "menu" 19SYSLINUXMENU = "${S}/menu"
20 20
21SYSLINUX_ISODIR = "${ISODIR}/isolinux" 21SYSLINUX_ISODIR = "${ISODIR}/isolinux"
22SYSLINUX_HDDDIR = "${HDDDIR}" 22SYSLINUX_HDDDIR = "${HDDDIR}"