From 3c014150ce185a1749644763db26ac7ac7a72d45 Mon Sep 17 00:00:00 2001 From: Ethan Dye Date: Mon, 27 May 2024 01:43:13 -0600 Subject: [PATCH] Make image size a power of 2 Signed-off-by: Ethan Dye --- tests/image.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/image.bash b/tests/image.bash index 7918702..920cccd 100755 --- a/tests/image.bash +++ b/tests/image.bash @@ -25,7 +25,7 @@ if [[ $1 == "setup" ]]; then gpg -q --trust-model always --verify "${2}.sig" "$2" xz "$2" -d fi - qemu-img resize -f raw "$3" 6G + qemu-img resize -f raw "$3" 8G echo ", +" | sfdisk -N 2 "$3" imageFile "mount" "$3" rsync -avr --exclude="*.img" --exclude="*.sig" --exclude="tests/fs" --exclude="tests/dtb" --exclude="tests/kernel" ./ tests/fs/opt/zram