Commit Graph

17 Commits (main)

Author SHA1 Message Date
Johannes 'josch' Schauer d947f765df
run_qemu.sh: add 20m timeout and print qemu log on failure 3 years ago
Johannes 'josch' Schauer 126c399d30
run_qemu.sh: explicitly convert to qcow2 3 years ago
Johannes 'josch' Schauer a4b070e4dc
run_qemu.sh: use /dev/urandom as source for randomness 4 years ago
Johannes 'josch' Schauer c20056d48f
run_qemu.sh: use virtio disk and network 4 years ago
Johannes 'josch' Schauer 7815fd16e6
run_qemu.sh: run qemu with -no-user-config 4 years ago
Johannes 'josch' Schauer 06d08607cc
run_qemu.sh: let qemu autodetect if kvm is available and fall back to tcg 4 years ago
Johannes 'josch' Schauer ea8315a5f1
coverage.sh: allow setting chroot distribution with DEFAULT_DIST 5 years ago
Johannes 'josch' Schauer 6c39fe8b5a
coverage.sh: add test for aspcud external apt solver 5 years ago
Johannes 'josch' Schauer 643152ec16
run_qemu.sh: add comment with an example of how to connect to qemu serial unix socket 5 years ago
Johannes 'josch' Schauer c670f51826
run_qemu.sh: if the run is aborted, then the last line is likely not an integer, thus compare strings instead of numbers 5 years ago
Johannes 'josch' Schauer b113771a81
make_mirror.sh: never leave the cache in an inconsistent state by atomically switching symlinks 5 years ago
Johannes 'josch' Schauer fa3719eaeb
run_qemu.sh: use an exit trap for reporting the result and cleanup
This will prevent any leftover files in case of a sudden error or
ctrl+c.
5 years ago
Johannes 'josch' Schauer f25dc399c2
run_qemu.sh: only add -enable-kvm if /dev/kvm exists 5 years ago
Johannes 'josch' Schauer 0cc9e3b44a
make_mirror.sh,run_qemu.sh: use temporary directory for temporary files instead of the current working directory 6 years ago
Johannes 'josch' Schauer eaaa0b109d
run_qemu.sh: pass absolute path to qemu-img because otherwise the backing image will be searched relative to the overlay 6 years ago
Johannes 'josch' Schauer ff3e66e37c
run_qemu.sh: run with set -eu 6 years ago
Johannes 'josch' Schauer 935f5b7a66
Instead of requiring root, use qemu
- unprivileged creation of rootfs using guestfish
 - allows full control over network, installed packages
 - merged test.sh into coverage.sh
6 years ago