forked from Mirror/pmbootstrap
qemu: init chroot (MR 2252)
We need to make sure the chroot is initialised before use. Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
This commit is contained in:
parent
c97ea203a4
commit
30f175073e
1 changed files with 3 additions and 1 deletions
|
@ -328,7 +328,9 @@ def install_depends(args: PmbArgs, arch: Arch):
|
||||||
if args.efi:
|
if args.efi:
|
||||||
depends.append("ovmf")
|
depends.append("ovmf")
|
||||||
|
|
||||||
pmb.chroot.apk.install(depends, Chroot.native())
|
chroot = Chroot.native()
|
||||||
|
pmb.chroot.init(chroot)
|
||||||
|
pmb.chroot.apk.install(depends, chroot)
|
||||||
|
|
||||||
|
|
||||||
def run(args: PmbArgs):
|
def run(args: PmbArgs):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue