pmb.chroot: install() make chroot a required argument (MR 2252)

Defaulting to the native chroot isn't necessarily intuitive. Let's
require this be specified in full.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
This commit is contained in:
Caleb Connolly 2024-05-24 03:33:13 +02:00 committed by Oliver Smith
parent 3322eab30c
commit 2e68f40dd4
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
8 changed files with 19 additions and 18 deletions

View file

@ -325,7 +325,7 @@ def install_depends(args: PmbArgs, arch):
if args.efi:
depends.append("ovmf")
pmb.chroot.apk.install(args, depends)
pmb.chroot.apk.install(args, depends, Chroot.native())
def run(args: PmbArgs):