diff options
Diffstat (limited to 'meta/classes')
-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` |