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 | |
parent | dae95a72e0c23af4f3bb6412a530aaff87d32ee6 (diff) | |
download | poky-f19e4350c080e1c3c1cd8032cf46930403c3e4e6.tar.gz |
bootimg: copy rootfs to ISO image
We are only copying the initrd right now.
Diffstat (limited to 'meta')
-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} |