diff options
Diffstat (limited to 'meta/classes/bootimg.bbclass')
-rw-r--r-- | meta/classes/bootimg.bbclass | 4 |
1 files changed, 4 insertions, 0 deletions
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() { | |||
83 | 83 | ||
84 | install -m 0644 ${INITRD} ${ISODIR}/initrd | 84 | install -m 0644 ${INITRD} ${ISODIR}/initrd |
85 | 85 | ||
86 | if [ -n "${ROOTFS}" ] && [ -s "${ROOTFS}" ]; then | ||
87 | install -m 0644 ${ROOTFS} ${ISODIR}/rootfs.img | ||
88 | fi | ||
89 | |||
86 | # And install the syslinux stuff | 90 | # And install the syslinux stuff |
87 | cp ${STAGING_DATADIR}/syslinux/isolinux.bin \ | 91 | cp ${STAGING_DATADIR}/syslinux/isolinux.bin \ |
88 | ${ISODIR} | 92 | ${ISODIR} |