| 1 | From 5941b2a3cdf6a5c1d1a3339f9fa61fb462ba60be Mon Sep 17 00:00:00 2001
|
| 2 | From: Cathy Hu <[email protected]>
|
| 3 | Date: Mon, 16 Feb 2026 17:07:34 +0100
|
| 4 | Subject: [PATCH] Disable build isolation for sepolicy python module
|
| 5 |
|
| 6 | same justification as:
|
| 7 | https://github.com/SELinuxProject/selinux/commit/17a9372391ad2c9bf0e440391d6fd13cb8cfdaf3
|
| 8 |
|
| 9 | Used patch by Daniel Garcia <[email protected]>:
|
| 10 | https://build.opensuse.org/requests/1333291
|
| 11 |
|
| 12 | Signed-off-by: Cathy Hu <[email protected]>
|
| 13 | Acked-by: Stephen Smalley <[email protected]>
|
| 14 | ---
|
| 15 | python/sepolicy/Makefile | 2 +-
|
| 16 | 1 file changed, 1 insertion(+), 1 deletion(-)
|
| 17 |
|
| 18 | diff --git a/python/sepolicy/Makefile b/python/sepolicy/Makefile
|
| 19 | index 1a26cfdce6..ccb22fe7da 100644
|
| 20 | |
| 21 | |
| 22 | @@ -27,7 +27,7 @@ test:
|
| 23 | @$(PYTHON) test_sepolicy.py -v
|
| 24 |
|
| 25 | install:
|
| 26 | - $(PYTHON) -m pip install --prefix=$(PREFIX) `test -n "$(DESTDIR)" && echo --root $(DESTDIR) --ignore-installed --no-deps` $(PYTHON_SETUP_ARGS) .
|
| 27 | + $(PYTHON) -m pip install --no-build-isolation --prefix=$(PREFIX) `test -n "$(DESTDIR)" && echo --root $(DESTDIR) --ignore-installed --no-deps` $(PYTHON_SETUP_ARGS) .
|
| 28 | [ -d $(DESTDIR)$(BINDIR) ] || mkdir -p $(DESTDIR)$(BINDIR)
|
| 29 | install -m 755 sepolicy.py $(DESTDIR)$(BINDIR)/sepolicy
|
| 30 | (cd $(DESTDIR)$(BINDIR); ln -sf sepolicy sepolgen)
|