summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/boot-directdisk.bbclass6
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/classes/boot-directdisk.bbclass b/meta/classes/boot-directdisk.bbclass
index 8879ba8ebf..893164f853 100644
--- a/meta/classes/boot-directdisk.bbclass
+++ b/meta/classes/boot-directdisk.bbclass
@@ -38,8 +38,9 @@ BOOTDD_EXTRA_SPACE ?= "16384"
38 38
39AUTO_SYSLINUXCFG = "1" 39AUTO_SYSLINUXCFG = "1"
40LABELS = "boot" 40LABELS = "boot"
41APPEND = "root=/dev/sda2" 41SYSLINUX_ROOT ?= "root=/dev/sda2"
42TIMEOUT = "10" 42SYSLINUX_TIMEOUT = "10" # 1 second
43
43SYSLINUXCFG = "${HDDDIR}/syslinux.cfg" 44SYSLINUXCFG = "${HDDDIR}/syslinux.cfg"
44SYSLINUXMENU = "${HDDDIR}/menu" 45SYSLINUXMENU = "${HDDDIR}/menu"
45 46
@@ -50,6 +51,7 @@ build_boot_dd() {
50 51
51 install -d ${HDDDIR} 52 install -d ${HDDDIR}
52 install -m 0644 ${STAGING_DIR_HOST}/kernel/bzImage ${HDDDIR}/vmlinuz 53 install -m 0644 ${STAGING_DIR_HOST}/kernel/bzImage ${HDDDIR}/vmlinuz
54 install -m 0644 ${S}/syslinux.cfg ${HDDDIR}/syslinux.cfg
53 install -m 444 ${STAGING_LIBDIR}/syslinux/ldlinux.sys ${HDDDIR}/ldlinux.sys 55 install -m 444 ${STAGING_LIBDIR}/syslinux/ldlinux.sys ${HDDDIR}/ldlinux.sys
54 56
55 BLOCKS=`du -bks ${HDDDIR} | cut -f 1` 57 BLOCKS=`du -bks ${HDDDIR} | cut -f 1`