diff options
author | Saul Wold <sgw@linux.intel.com> | 2012-02-21 14:48:16 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-02-23 23:59:39 +0000 |
commit | 136d9cd07d1c2ad316cd59b8fd95b772698e1be2 (patch) | |
tree | cae3741e3688a1c8964ca995e729412a97235cef /meta/classes/boot-directdisk.bbclass | |
parent | 5d04c6e17345c8cc9b1fd1b89b669f710f4c059d (diff) | |
download | poky-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.bbclass | 6 |
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 | ||
39 | AUTO_SYSLINUXCFG = "1" | 39 | AUTO_SYSLINUXCFG = "1" |
40 | LABELS = "boot" | 40 | LABELS = "boot" |
41 | APPEND = "root=/dev/sda2" | 41 | SYSLINUX_ROOT ?= "root=/dev/sda2" |
42 | TIMEOUT = "10" | 42 | SYSLINUX_TIMEOUT = "10" # 1 second |
43 | |||
43 | SYSLINUXCFG = "${HDDDIR}/syslinux.cfg" | 44 | SYSLINUXCFG = "${HDDDIR}/syslinux.cfg" |
44 | SYSLINUXMENU = "${HDDDIR}/menu" | 45 | SYSLINUXMENU = "${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` |