mirror of
https://salsa.debian.org/raspi-team/image-specs
synced 2026-05-30 06:38:09 +02:00
Fix parted invocation again
This commit is contained in:
@@ -4,6 +4,6 @@ roottmp=$(lsblk -l -o MAJ:MIN,MOUNTPOINT | grep '/$')
|
|||||||
rootpart=/dev/block/${roottmp% /}
|
rootpart=/dev/block/${roottmp% /}
|
||||||
rootdev=${rootpart%:*}:0
|
rootdev=${rootpart%:*}:0
|
||||||
|
|
||||||
echo 'y\n-1s\n' | parted $rootdev resizepart 2
|
printf "y\n-1s\n" | parted $rootdev resizepart 2
|
||||||
|
|
||||||
resize2fs $rootpart
|
resize2fs $rootpart
|
||||||
|
|||||||
Reference in New Issue
Block a user