pmb.qemu: drop --flavor option (!1886)

Since we ask for the kernel flavor during init, only the chosen kernel is
installed, hence there's no need to specify a different one.
This commit is contained in:
Daniele Debernardi 2020-03-11 22:01:07 +01:00 committed by Oliver Smith
parent a76897b4a1
commit 9718320829
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
2 changed files with 1 additions and 6 deletions

View file

@ -83,10 +83,7 @@ def command_qemu(args, arch, img_path):
suffix = "rootfs_" + args.device
rootfs = args.work + "/chroot_" + suffix
if args.flavor:
flavor = args.flavor
else:
flavor = pmb.chroot.other.kernel_flavors_installed(args, suffix)[0]
flavor = pmb.chroot.other.kernel_flavors_installed(args, suffix)[0]
if args.host_qemu:
qemu_bin = which_qemu(args, arch)