Files
packages/lang
Alexandru Ardelean 3685975072 python-semanage: fix cross-compilation, add test.sh
Add HOST_PYTHON3_PIP_VARS and --no-build-isolation to MAKE_VARS.
Without --no-build-isolation, pip creates an isolated build environment
which fails during cross-compilation because _sysconfigdata is missing.
Aligns with python-selinux which already has this fix.

The libsemanage pywrap uses the host Python's EXT_SUFFIX to name the
C extension, so we will use the PYCEXT env-var to correct that.

Add basic test.sh to verify the semanage Python bindings load correctly
in environments without SELinux kernel support.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
(cherry picked from commit acfafdaa03)
[keep version 3.8.1 from openwrt-25.12]
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2026-09-28 14:02:36 +03:00
..
2026-03-15 12:25:21 +02:00
2026-09-03 16:16:04 +03:00
2026-08-15 12:27:31 +02:00
2026-08-04 14:12:35 +02:00
2026-06-02 21:14:28 +02:00
2025-11-13 19:18:37 +02:00
2026-04-04 18:44:52 +03:00
2025-05-11 21:23:49 +03:00
2025-06-01 10:18:38 +03:00