summaryrefslogtreecommitdiffstats
path: root/meta/classes/boot-directdisk.bbclass
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2012-02-21 14:48:16 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-02-23 23:59:39 +0000
commit136d9cd07d1c2ad316cd59b8fd95b772698e1be2 (patch)
treecae3741e3688a1c8964ca995e729412a97235cef /meta/classes/boot-directdisk.bbclass
parent5d04c6e17345c8cc9b1fd1b89b669f710f4c059d (diff)
downloadpoky-136d9cd07d1c2ad316cd59b8fd95b772698e1be2.tar.gz
boot-directdisk: Use correct SYSLINUX_TIMEOUT and SYSLINUX_ROOT instead of APPEND
(From OE-Core rev: 1284230ad554f8607cb02b054fdd74017ae7c861) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/boot-directdisk.bbclass')
-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`