| 1 |
#!/bin/sh |
| 2 |
set -e |
| 3 |
|
| 4 |
# Note: The qemu machines used on arm64, armhf, ppc64el, and s390x have no IDE |
| 5 |
SUPPORTED_FLAVOURS='amd64 generic' |
| 6 |
ROOTDISK_QEMU_IF=ide |
| 7 |
ROOTDISK_LINUX_NAME="/dev/sda" |
| 8 |
. debian/tests/test-common |
| 9 |
|
| 10 |
cat >>"${CONFDIR}/initramfs.conf" <<EOF |
| 11 |
MODULES=list |
| 12 |
BUSYBOX=n |
| 13 |
FSTYPE=ext2 |
| 14 |
EOF |
| 15 |
cat >"${CONFDIR}/modules" <<EOF |
| 16 |
ext2 |
| 17 |
ata_piix |
| 18 |
sd_mod |
| 19 |
EOF |
| 20 |
build_initramfs |
| 21 |
|
| 22 |
build_rootfs_ext2 |
| 23 |
|
| 24 |
# shellcheck disable=SC2119 |
| 25 |
run_qemu |
| 26 |
check_no_network_configuration |