From a184bf63e21ec6b51598125810be7eefb73e6261 Mon Sep 17 00:00:00 2001 From: Stefan Hansson Date: Wed, 15 Apr 2026 03:40:43 +0200 Subject: [PATCH] linux-postmarketos-allwinner: HACK: disable cross-native To avoid issue described here: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8295#note_5453 Signed-off-by: Stefan Hansson Part-of: --- .ci/testcases/test_kernel.py | 3 +++ device/community/linux-postmarketos-allwinner/APKBUILD | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.ci/testcases/test_kernel.py b/.ci/testcases/test_kernel.py index a3a1004c4..ebc3c7909 100644 --- a/.ci/testcases/test_kernel.py +++ b/.ci/testcases/test_kernel.py @@ -21,6 +21,9 @@ def test_aports_kernel(): if aport_name == "linux-pam-pmos": continue # This package isn't a linux kernel! + if aport_name == "linux-postmarketos-allwinner": + continue # Hack to work around issue (see git blame) + if "pmb:cross-native" not in apkbuild["options"]: raise RuntimeError(f"{aport_name}: \"pmb:cross-native\" missing in" " options= line") diff --git a/device/community/linux-postmarketos-allwinner/APKBUILD b/device/community/linux-postmarketos-allwinner/APKBUILD index 9734abe6b..025aec8b7 100644 --- a/device/community/linux-postmarketos-allwinner/APKBUILD +++ b/device/community/linux-postmarketos-allwinner/APKBUILD @@ -29,7 +29,6 @@ makedepends=" bash " options="!strip !check !tracedeps - pmb:cross-native pmb:kconfigcheck-community pmb:kconfigcheck-netmount "