summaryrefslogtreecommitdiffstats
path: root/meta/classes/syslinux.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/syslinux.bbclass')
-rw-r--r--meta/classes/syslinux.bbclass12
1 files changed, 7 insertions, 5 deletions
diff --git a/meta/classes/syslinux.bbclass b/meta/classes/syslinux.bbclass
index 91b973188c..944bd92da2 100644
--- a/meta/classes/syslinux.bbclass
+++ b/meta/classes/syslinux.bbclass
@@ -53,14 +53,16 @@ syslinux_populate() {
53} 53}
54 54
55syslinux_iso_populate() { 55syslinux_iso_populate() {
56 syslinux_populate ${ISODIR} ${ISOLINUXDIR} isolinux.cfg 56 iso_dir=$1
57 install -m 0644 ${STAGING_DATADIR}/syslinux/isolinux.bin ${ISODIR}${ISOLINUXDIR} 57 syslinux_populate $iso_dir ${ISOLINUXDIR} isolinux.cfg
58 install -m 0644 ${STAGING_DATADIR}/syslinux/ldlinux.c32 ${ISODIR}${ISOLINUXDIR} 58 install -m 0644 ${STAGING_DATADIR}/syslinux/isolinux.bin $iso_dir${ISOLINUXDIR}
59 install -m 0644 ${STAGING_DATADIR}/syslinux/ldlinux.c32 $iso_dir${ISOLINUXDIR}
59} 60}
60 61
61syslinux_hddimg_populate() { 62syslinux_hddimg_populate() {
62 syslinux_populate ${HDDDIR} ${SYSLINUXDIR} syslinux.cfg 63 hdd_dir=$1
63 install -m 0444 ${STAGING_DATADIR}/syslinux/ldlinux.sys ${HDDDIR}${SYSLINUXDIR}/ldlinux.sys 64 syslinux_populate $hdd_dir ${SYSLINUXDIR} syslinux.cfg
65 install -m 0444 ${STAGING_DATADIR}/syslinux/ldlinux.sys $hdd_dir${SYSLINUXDIR}/ldlinux.sys
64} 66}
65 67
66syslinux_hddimg_install() { 68syslinux_hddimg_install() {