1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Merge pull request #2465 from tim-moody/7.1-resize

change resize service to use growpart, which must be installed for raspios
This commit is contained in:
Tim Moody 2020-07-10 10:47:49 -04:00 committed by GitHub
commit 01124ba465
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -39,6 +39,7 @@
- iw
- rfkill
- wireless-tools
- cloud-guest-utils
state: present
- name: Increase swap file size (to CONF_SWAPSIZE={{ pi_swap_file_size }} in /etc/dphys-swapfile) as kalite pip download fails

View file

@ -14,7 +14,7 @@ if [ -f /.resize-rootfs ];then
root_part_no=${root_part: (-1)}
# Resize partition
parted -s /dev/$root_dev resizepart $root_part_no 100%
growpart /dev/$root_dev $root_part_no
resize2fs /dev/$root_part
rm /.resize-rootfs
fi