1
0
Fork 1
mirror of https://gitlab.postmarketos.org/postmarketOS/pmbootstrap.git synced 2025-07-13 11:29:46 +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:
Newbyte 2024-10-29 15:53:54 +01:00
parent 98f1491426
commit 6b55ce7b53
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB

View file

@ -193,7 +193,7 @@ def run_abuild(context: Context, pkgname: str, arch: Arch, apkbuild_path: Path,
env = {
"CARCH": str(arch),
"CHOST": str(arch),
"CBUILD": Arch.native(),
"CBUILD": str(Arch.native()),
"SUDO_APK": "abuild-apk --no-progress",
}
cmd = ["abuild", "rootpkg"]