integration test: pass 'noresume' to qemu

When running on Debian/Ubuntu, I get a minute delay or so on every boot
because the local initramfs tries to resume from hibernation. This is
not really useful here, so always skip it
This commit is contained in:
Luca Boccassi 2023-05-18 13:08:56 +01:00 committed by Luca Boccassi
parent 4aa37ad301
commit 8fb26ccd36

View file

@ -475,6 +475,8 @@ run_qemu() {
kernel_params+=("rd.hostonly=0")
fi
# Debian/Ubuntu's initramfs tries to check if it can resume from hibernation
# and wastes a minute or so probing disks, skip that as it's not useful here
kernel_params+=(
"root=LABEL=systemd_boot"
"rw"
@ -486,6 +488,7 @@ run_qemu() {
"SYSTEMD_UNIT_PATH=/usr/lib/systemd/tests/testdata/testsuite-$1.units:/usr/lib/systemd/tests/testdata/units:"
"systemd.unit=testsuite.target"
"systemd.wants=testsuite-$1.service"
"noresume"
)
if ! get_bool "$INTERACTIVE_DEBUG"; then