forked from Mirror/pmbootstrap
pmb.core.chroot: make type a property (MR 2252)
Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
This commit is contained in:
parent
1d5eda75b5
commit
2d232200f8
4 changed files with 4 additions and 4 deletions
|
@ -94,7 +94,7 @@ def crosscompile(args: PmbArgs, apkbuild, arch, suffix: Chroot):
|
|||
return None
|
||||
if not pmb.parse.arch.cpu_emulation_required(arch):
|
||||
return None
|
||||
if suffix.type() == ChrootType.NATIVE:
|
||||
if suffix.type == ChrootType.NATIVE:
|
||||
return "native"
|
||||
if "!pmb:crossdirect" in apkbuild["options"]:
|
||||
return None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue