mirror of
https://gitlab.postmarketos.org/postmarketOS/pmbootstrap.git
synced 2025-07-14 20:09:49 +03:00
pmb.build.envkernel: Convert Arch.native() to str (MR 2464)
We don't want an actual Arch object in the environment object.
This commit is contained in:
parent
98f1491426
commit
6b55ce7b53
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@ def run_abuild(context: Context, pkgname: str, arch: Arch, apkbuild_path: Path,
|
||||||
env = {
|
env = {
|
||||||
"CARCH": str(arch),
|
"CARCH": str(arch),
|
||||||
"CHOST": str(arch),
|
"CHOST": str(arch),
|
||||||
"CBUILD": Arch.native(),
|
"CBUILD": str(Arch.native()),
|
||||||
"SUDO_APK": "abuild-apk --no-progress",
|
"SUDO_APK": "abuild-apk --no-progress",
|
||||||
}
|
}
|
||||||
cmd = ["abuild", "rootpkg"]
|
cmd = ["abuild", "rootpkg"]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue