From: Alf B. Rustad <a...@rakle.org> This patch makes the script wget2nand remove the rootfs.tgz after unpacking it. From the rootfs.tgz file in 12.09-rc1 this will save 2.3MB of storage. For custom compiled images with more software included it easily adds up. Patched script is tested by me.
Signed-off-by: Alf B. Rustad <a...@rakle.org> Index: target/linux/ar71xx/base-files/sbin/wget2nand =================================================================== --- target/linux/ar71xx/base-files/sbin/wget2nand (revision 35066) +++ target/linux/ar71xx/base-files/sbin/wget2nand (working copy) @@ -68,6 +68,7 @@ echo "Preparing filesystem..." ( cd "$mnt_rootfs"; tar xvz -f "$src_rootfs" ) +rm $src_rootfs # make sure everything is written before we unmount the partitions echo "chmod ugo+x /" > $mnt_rootfs/etc/uci-defaults/set_root_permission _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel