forked from Mirror/pmbootstrap
qemu: don't try and install stuff in rootfs (MR 2252)
Don't try and install random packages in the rootfs chroot when starting QEMU. The chroot is not initialised and this just adds latency. Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
This commit is contained in:
parent
2472e4c612
commit
fe079c8676
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ def command_qemu(args: PmbArgs, config: Config, arch: Arch, img_path, img_path_2
|
|||
|
||||
chroot = Chroot(ChrootType.ROOTFS, device)
|
||||
chroot_native = Chroot.native()
|
||||
flavor = pmb.chroot.other.kernel_flavor_installed(chroot)
|
||||
flavor = pmb.chroot.other.kernel_flavor_installed(chroot, autoinstall=False)
|
||||
flavor_suffix = f"-{flavor}"
|
||||
# Backwards compatibility with old mkinitfs (pma#660)
|
||||
pmaports_cfg = pmb.config.pmaports.read_config()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue