diff --git a/mk_mmc.sh b/mk_mmc.sh index 1444232..dd5dd7a 100755 --- a/mk_mmc.sh +++ b/mk_mmc.sh @@ -1290,7 +1290,7 @@ populate_boot () { if [ -f ${TEMPDIR}/initrd.mod.gz ] ; then #This is 20+ MB in size, just copy one.. echo "Copying Kernel initrds:" - if [ ${mkimage_zimage} ] ; then + if [ ${mkimage_initrd} ] ; then mkimage -A arm -O linux -T ramdisk -C none -a 0 -e 0 -n initramfs -d ${TEMPDIR}/initrd.mod.gz ${TEMPDIR}/disk/uInitrd.net else cp -v ${TEMPDIR}/initrd.mod.gz ${TEMPDIR}/disk/initrd.net