summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/bootimg.bbclass6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/classes/bootimg.bbclass b/meta/classes/bootimg.bbclass
index ca61cd6b7..9b0722ef1 100644
--- a/meta/classes/bootimg.bbclass
+++ b/meta/classes/bootimg.bbclass
@@ -23,7 +23,7 @@ HDDDIR = "${S}/hdd/boot"
ISODIR = "${S}/cd/isolinux"
BOOTIMG_VOLUME_ID ?= "oe"
-BOOTIMG_EXTRA_SPACE ?= "64"
+BOOTIMG_EXTRA_SPACE ?= "512"
# Get the build_syslinux_cfg() function from the syslinux class
@@ -41,6 +41,10 @@ build_boot_bin() {
install -m 0644 ${INITRD} ${HDDDIR}/initrd
fi
+ if [ -n "${ROOTFS}" ] && [ -s "${ROOTFS}" ]; then
+ install -m 0644 ${ROOTFS} ${HDDDIR}/rootfs.img
+ fi
+
install -m 444 ${STAGING_DATADIR_NATIVE}/syslinux/ldlinux.sys \
${HDDDIR}/ldlinux.sys