test: Assume 4GB SD card in tests

This commit is contained in:
Johan Gunnarsson 2021-10-24 14:50:08 +02:00
parent 670e5ffe84
commit 1514710064
1 changed files with 3 additions and 0 deletions

View File

@ -20,6 +20,9 @@ echo "Using password ${SSHPASS}"
# Build image
zcat "${BOOT}" "${DEBIAN}" > image.bin
# Assume 4GB virtual disk
fallocate -l 4GB image.bin
# Extract U-Boot (u-boot.rom in x86 case)
dd if=image.bin of=bios.bin count=2048 skip=16