selinux-python: fix cross-compilation, add test.sh
authorAlexandru Ardelean <redacted>
Fri, 3 Apr 2026 10:53:07 +0000 (13:53 +0300)
committerAlexandru Ardelean <redacted>
Sat, 25 Apr 2026 04:48:58 +0000 (07:48 +0300)
commit9122b66499e7b0ece0677d0f693d872546301291
tree269c5b227408d67e5247b4218184b44482bd47ea
parentacfafdaa03ed725a244c4b77093bd8cfa7d66e2b
selinux-python: fix cross-compilation, add test.sh

Add --no-build-isolation to PYTHON_SETUP_ARGS. Without it, pip creates
an isolated build environment which fails during cross-compilation
because _sysconfigdata is missing for the target arch.

Add test.sh verifying python3-sepolgen module loads correctly and
selinux-audit2allow binary is functional.

Signed-off-by: Alexandru Ardelean <redacted>
utils/selinux-python/Makefile
utils/selinux-python/test.sh [new file with mode: 0755]
git clone https://git.99rst.org/PROJECT