Disable build isolation for sepolicy python module
PATCH 1/1 Disable build isolation for sepolicy python module
From: Cathy Hu <[email protected]>
same justification as:
https://github.com/SELinuxProject/selinux/commit/17a9372391ad2c9bf0e440391d6fd13cb8cfdaf3
Used patch by Daniel Garcia <[email protected]>:
https://build.opensuse.org/requests/1333291
Signed-off-by Cathy Hu <[email protected]>
--- python/sepolicy/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
python/sepolicy/Makefile +1 -1
@@ -27,7 +27,7 @@ test: @$(PYTHON) test_sepolicy.py -v install: - $(PYTHON) -m pip install --prefix=$(PREFIX) `test -n "$(DESTDIR)" && echo --root $(DESTDIR) --ignore-installed --no-deps` $(PYTHON_SETUP_ARGS) . + $(PYTHON) -m pip install --no-build-isolation --prefix=$(PREFIX) `test -n "$(DESTDIR)" && echo --root $(DESTDIR) --ignore-installed --no-deps` $(PYTHON_SETUP_ARGS) . [ -d $(DESTDIR)$(BINDIR) ] || mkdir -p $(DESTDIR)$(BINDIR) install -m 755 sepolicy.py $(DESTDIR)$(BINDIR)/sepolicy (cd $(DESTDIR)$(BINDIR); ln -sf sepolicy sepolgen)
Signature · 1 line
2.52.0
Quoted 10 lines · Cathy Hu
From: Cathy Hu <[email protected]>
same justification as:
https://github.com/SELinuxProject/selinux/commit/17a9372391ad2c9bf0e440391d6fd13cb8cfdaf3Used patch by Daniel Garcia <[email protected]>:
https://build.opensuse.org/requests/1333291Signed-off-by Cathy Hu <[email protected]>
NB I would prefer the justification be included inline in the commit message rather than requiring following a link, but otherwise:
Acked-by Stephen Smalley <[email protected]>
Quoted 21 lines
--- python/sepolicy/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)python/sepolicy/Makefile +1
-2@@ -27,7 +27,7 @@ test: @$(PYTHON) test_sepolicy.py -v install: - $(PYTHON) -m pip install --prefix=$(PREFIX) `test -n "$(DESTDIR)" && echo --root $(DESTDIR) --ignore-installed --no-deps` $(PYTHON_SETUP_ARGS) . + $(PYTHON) -m pip install --no-build-isolation --prefix=$(PREFIX) `test -n "$(DESTDIR)" && echo --root $(DESTDIR) --ignore-installed --no-deps` $(PYTHON_SETUP_ARGS) . [ -d $(DESTDIR)$(BINDIR) ] || mkdir -p $(DESTDIR)$(BINDIR) install -m 755 sepolicy.py $(DESTDIR)$(BINDIR)/sepolicy (cd $(DESTDIR)$(BINDIR); ln -sf sepolicy sepolgen) --2.52.0