init-install.sh: resize the install partition

This commit is contained in:
Henning Heinold 2014-04-01 20:19:37 +02:00 committed by Henning
parent 45929766a9
commit 076f6e1bb0
2 changed files with 6 additions and 2 deletions

View File

@ -170,8 +170,12 @@ echo "(hd0) /dev/${device}" > /boot/grub/device.map
umount /boot
umount /tgt_root
echo "Resizing partition"
resize2fs $rootfs
sync
echo "Remove your installation media, and press ENTER"
read enter

View File

@ -1,2 +1,2 @@
# add needed modules for vfat
IMAGE_INSTALL_append = " kernel-module-nls-iso8859-1 kernel-module-nls-cp437 "
# add needed modules for vfat and e2fsprogs for resize2fs
IMAGE_INSTALL_append = " kernel-module-nls-iso8859-1 kernel-module-nls-cp437 e2fsprogs "