bootimg: Adding a rootfs to the disk image

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5172 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Samuel Ortiz 2008-09-10 21:19:19 +00:00
parent 8615c214c2
commit 71a2e0d41d
1 changed files with 5 additions and 1 deletions

View File

@ -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