test: Assume 4GB SD card in tests
This commit is contained in:
parent
670e5ffe84
commit
1514710064
|
|
@ -20,6 +20,9 @@ echo "Using password ${SSHPASS}"
|
||||||
# Build image
|
# Build image
|
||||||
zcat "${BOOT}" "${DEBIAN}" > image.bin
|
zcat "${BOOT}" "${DEBIAN}" > image.bin
|
||||||
|
|
||||||
|
# Assume 4GB virtual disk
|
||||||
|
fallocate -l 4GB image.bin
|
||||||
|
|
||||||
# Extract U-Boot (u-boot.rom in x86 case)
|
# Extract U-Boot (u-boot.rom in x86 case)
|
||||||
dd if=image.bin of=bios.bin count=2048 skip=16
|
dd if=image.bin of=bios.bin count=2048 skip=16
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue