Skip to content

Commit

Permalink
Make image size a power of 2
Browse files Browse the repository at this point in the history
Signed-off-by: Ethan Dye <[email protected]>
  • Loading branch information
ecdye committed May 27, 2024
1 parent baad141 commit 3c01415
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/image.bash
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3c01415

Please sign in to comment.