mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 20:14:49 +00:00
remove interactive TTY requirement from cmds
This commit is contained in:
committed by
Aiden McClelland
parent
b8751e7add
commit
cceef054ac
@@ -30,7 +30,7 @@ fi
|
||||
export LOOPDEV=$(sudo losetup --show -fP raspios.img)
|
||||
./build/partitioning.sh
|
||||
./build/write-image.sh
|
||||
sudo e2fsck -f `partition_for ${OUTPUT_DEVICE} 3`
|
||||
sudo e2fsck -f -y `partition_for ${OUTPUT_DEVICE} 3`
|
||||
sudo resize2fs -M `partition_for ${OUTPUT_DEVICE} 3`
|
||||
BLOCK_INFO=$(sudo dumpe2fs `partition_for ${OUTPUT_DEVICE} 3`)
|
||||
BLOCK_COUNT=$(echo "$BLOCK_INFO" | grep "Block count:" | sed 's/Block count:\s\+//g')
|
||||
|
||||
Reference in New Issue
Block a user