forked from Mirror/pmbootstrap
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:
parent
a76897b4a1
commit
9718320829
2 changed files with 1 additions and 6 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue