From: Samuel Ortiz Date: Mon, 27 Oct 2008 12:43:38 +0000 (+0100) Subject: bootimg: copy rootfs to ISO image X-Git-Tag: 2011-1~7939 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=f19e4350c080e1c3c1cd8032cf46930403c3e4e6;p=openembedded-core.git bootimg: copy rootfs to ISO image We are only copying the initrd right now. --- diff --git a/meta/classes/bootimg.bbclass b/meta/classes/bootimg.bbclass index d15818ee5b..1a24ac7187 100644 --- a/meta/classes/bootimg.bbclass +++ b/meta/classes/bootimg.bbclass @@ -83,6 +83,10 @@ build_boot_bin() { install -m 0644 ${INITRD} ${ISODIR}/initrd + if [ -n "${ROOTFS}" ] && [ -s "${ROOTFS}" ]; then + install -m 0644 ${ROOTFS} ${ISODIR}/rootfs.img + fi + # And install the syslinux stuff cp ${STAGING_DATADIR}/syslinux/isolinux.bin \ ${ISODIR}