use the compressed .gz image vs the uncompressed one, file size goes from 22.X Mb to 8.X Mb..

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
pull/8/head
Robert Nelson 14 years ago
parent d587ec2c87
commit db3dc8ba53

@ -384,8 +384,6 @@ esac
sudo touch ${TEMPDIR}/initrd-tree/etc/rcn.conf sudo touch ${TEMPDIR}/initrd-tree/etc/rcn.conf
cd ${TEMPDIR}/initrd-tree/ cd ${TEMPDIR}/initrd-tree/
find . | cpio -o -H newc | gzip -9 > ${TEMPDIR}/initrd.mod.gz find . | cpio -o -H newc | gzip -9 > ${TEMPDIR}/initrd.mod.gz
sudo rm -f ${TEMPDIR}/initrd.mod || true
sudo gzip -d ${TEMPDIR}/initrd.mod.gz
cd ${DIR}/ cd ${DIR}/
} }
@ -437,7 +435,7 @@ sudo cp -v ${TEMPDIR}/dl/${MLO} ${TEMPDIR}/disk/MLO
sudo cp -v ${TEMPDIR}/dl/${UBOOT} ${TEMPDIR}/disk/u-boot.bin sudo cp -v ${TEMPDIR}/dl/${UBOOT} ${TEMPDIR}/disk/u-boot.bin
echo "uInitrd Installer" echo "uInitrd Installer"
sudo mkimage -A arm -O linux -T ramdisk -C none -a 0 -e 0 -n initramfs -d ${TEMPDIR}/initrd.mod ${TEMPDIR}/disk/uInitrd.net sudo mkimage -A arm -O linux -T ramdisk -C none -a 0 -e 0 -n initramfs -d ${TEMPDIR}/initrd.mod.gz ${TEMPDIR}/disk/uInitrd.net
echo "uInitrd Normal Boot" echo "uInitrd Normal Boot"
sudo mkimage -A arm -O linux -T ramdisk -C none -a 0 -e 0 -n initramfs -d ${DIR}/dl/${DIST}/initrd.img-${KERNEL} ${TEMPDIR}/disk/uInitrd.end sudo mkimage -A arm -O linux -T ramdisk -C none -a 0 -e 0 -n initramfs -d ${DIR}/dl/${DIST}/initrd.img-${KERNEL} ${TEMPDIR}/disk/uInitrd.end
echo "uImage" echo "uImage"

Loading…
Cancel
Save