From f19e4350c080e1c3c1cd8032cf46930403c3e4e6 Mon Sep 17 00:00:00 2001 From: Samuel Ortiz Date: Mon, 27 Oct 2008 13:43:38 +0100 Subject: bootimg: copy rootfs to ISO image We are only copying the initrd right now. --- meta/classes/bootimg.bbclass | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'meta/classes') 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} -- cgit v1.2.3-54-g00ecf