Skip to content

Commit a5d0d4b

Browse files
committed
resize image to minimum
1 parent 766166c commit a5d0d4b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mount_rubikpi3.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,8 @@ sudo umount rootfs/proc || true
182182
sudo umount rootfs/tmp/build/ || true
183183
sudo umount rootfs || true
184184

185+
resize2fs -f "$ROOTFS_IMG" || true
186+
185187
# More aggressive loop device cleanup
186188
if [ -n "$LOOP_DEV" ]; then
187189
sudo losetup -d "$LOOP_DEV" || true

0 commit comments

Comments
 (0)