forked from Mirror/pmbootstrap
pmb.build.backend.run_abuild: remove cross default
This function doesn't handle the case of being called without a value set for cross (it does not autodetect it) and callers don't expect that. So unset the default value. Part-of: https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/merge_requests/2568
This commit is contained in:
parent
b2eb812254
commit
0625ece550
2 changed files with 2 additions and 2 deletions
|
@ -714,9 +714,9 @@ def packages(
|
||||||
pkg["pkgver"],
|
pkg["pkgver"],
|
||||||
channel,
|
channel,
|
||||||
pkg_arch,
|
pkg_arch,
|
||||||
|
cross,
|
||||||
strict,
|
strict,
|
||||||
force,
|
force,
|
||||||
cross,
|
|
||||||
hostchroot,
|
hostchroot,
|
||||||
src,
|
src,
|
||||||
bootstrap_stage,
|
bootstrap_stage,
|
||||||
|
|
|
@ -190,9 +190,9 @@ def run_abuild(
|
||||||
pkgver: str,
|
pkgver: str,
|
||||||
channel: str,
|
channel: str,
|
||||||
arch: Arch,
|
arch: Arch,
|
||||||
|
cross: CrossCompileType,
|
||||||
strict: bool = False,
|
strict: bool = False,
|
||||||
force: bool = False,
|
force: bool = False,
|
||||||
cross: CrossCompileType = None,
|
|
||||||
hostchroot: Chroot = Chroot.native(),
|
hostchroot: Chroot = Chroot.native(),
|
||||||
src: str | None = None,
|
src: str | None = None,
|
||||||
bootstrap_stage: int = BootstrapStage.NONE,
|
bootstrap_stage: int = BootstrapStage.NONE,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue