test/test_qemu_running_processes: use Alpine virt kernel (!1886)

The QEMU device ports no longer make use of the linux-postmarketos-
stable/mainline kernels, causing the test to fail with

  RuntimeError: Selected kernel (stable) is not configured for device qemu-amd64.
  Please run 'pmbootstrap init' to select a valid kernel.

Let's configure the test to use the "virt" kernel.
This commit is contained in:
Minecrell 2020-03-06 14:24:40 +01:00 committed by Oliver Smith
parent 345425ef48
commit 903491f518
No known key found for this signature in database
GPG Key ID: 5AE7F5513E0885CB
1 changed files with 1 additions and 0 deletions

View File

@ -81,6 +81,7 @@ class QEMU(object):
shutil.copyfile(os.path.expanduser("~") + "/.config/pmbootstrap.cfg",
config)
pmbootstrap_run(args, config, ["config", "device", "qemu-amd64"])
pmbootstrap_run(args, config, ["config", "kernel", "virt"])
pmbootstrap_run(args, config, ["config", "extra_packages", "none"])
pmbootstrap_run(args, config, ["config", "user", "testuser"])
pmbootstrap_run(args, config, ["config", "ui", ui])