Debian Codegraph @

debian/tests/qemu-virtio-only

raw
1 #!/bin/sh
2 set -e
3
4 SUPPORTED_FLAVOURS='amd64 arm64 armmp powerpc64le s390x generic'
5 ROOTDISK_QEMU_IF=virtio
6 ROOTDISK_LINUX_NAME="/dev/vda"
7 . debian/tests/test-common
8
9 cat >>"${CONFDIR}/initramfs.conf" <<EOF
10 MODULES=list
11 BUSYBOX=n
12 FSTYPE=ext2
13 EOF
14 cat >"${CONFDIR}/modules" <<EOF
15 ext2
16 virtio_pci
17 virtio_blk
18 EOF
19 build_initramfs
20
21 build_rootfs_ext2
22
23 # shellcheck disable=SC2119
24 run_qemu
25 check_no_network_configuration