summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta/classes/bootimg.bbclass4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/bootimg.bbclass b/meta/classes/bootimg.bbclass
index d15818ee5..1a24ac718 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}