init-install.sh: resize the install partition
parent
45929766a9
commit
076f6e1bb0
|
@ -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
|
||||
|
|
|
@ -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 "
|
||||
|
|
Loading…
Reference in New Issue