IMGroot := /install/images/rootfs
SIZEroot := 500
IMGvar := /install/images/varfs
-SIZEvar := 440
+SIZEvar := 430
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
rm -rf $(MNThdd) $(IMGinst) $(IMGpart) $(IMGboot) $(IMGroot) $(IMGvar) && mkdir -p $(MNThdd)
umount $(MNThdd)/var
umount $(MNThdd)
+ # zerofree the ext3 images to get better compression
+ zerofree $(IMGboot)
+ zerofree $(IMGroot)
+ zerofree $(IMGvar)
+
# Cat to an image
cat $(IMGpart) $(IMGboot) $(IMGroot) $(IMGvar) > $(IMGinst)
# Write Partition table
umount $(MNThdd)/boot
umount $(MNThdd)
+ # zerofree the ext3 images to get better compression
+ zerofree $(IMGboot)
+ zerofree $(IMGroot)
+ zerofree $(IMGvar)
+
# Cat to an image
cat $(IMGpart) $(IMGboot) $(IMGroot) $(IMGvar) > $(IMGinsts)
rm -vf $(IMGpart) $(IMGboot) $(IMGroot) $(IMGvar)