diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2008-10-27 13:43:38 +0100 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2008-10-27 13:44:20 +0100 |
commit | f19e4350c080e1c3c1cd8032cf46930403c3e4e6 (patch) | |
tree | 36c3a312b57a0c312f61cc669b6bc484abf3b310 /meta/classes | |
parent | dae95a72e0c23af4f3bb6412a530aaff87d32ee6 (diff) | |
download | openembedded-core-f19e4350c080e1c3c1cd8032cf46930403c3e4e6.tar.gz openembedded-core-f19e4350c080e1c3c1cd8032cf46930403c3e4e6.tar.bz2 openembedded-core-f19e4350c080e1c3c1cd8032cf46930403c3e4e6.zip |
bootimg: copy rootfs to ISO image
We are only copying the initrd right now.
Diffstat (limited to 'meta/classes')
-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() { 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} |