From: pebenito@ieee.org (Chris PeBenito) Date: Thu, 25 Aug 2016 18:36:40 -0400 Subject: [refpolicy] [PATCH] Fix the Reference Policy integration with the SELinux testsuite In-Reply-To: <1472045977.4446.6.camel@trentalancia.net> References: <1472045977.4446.6.camel@trentalancia.net> Message-ID: <1ac6edd9-1df9-08cc-38ee-338460a47fdf@ieee.org> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com On 08/24/16 09:39, Guido Trentalancia via refpolicy wrote: > The SELinux testsuite expects the Makefile.devel file to be installed > in the top level share directory and not in its include subdirectory. > > Such file is installed by the Makefile target "install-headers". > > Signed-off-by: Guido Trentalancia > --- > Makefile | 2 ++ > 1 file changed, 2 insertions(+) > > --- refpolicy-git-06082016-orig/Makefile 2016-08-06 21:26:43.257773849 +0200 > +++ refpolicy-git-06082016/Makefile 2016-08-24 15:33:34.936218176 +0200 > @@ -70,6 +70,7 @@ SECHECK ?= $(BINDIR)/sechecker > AWK ?= gawk > GREP ?= egrep > INSTALL ?= install > +LN ?= ln > M4 ?= m4 > PYTHON ?= python > SED ?= sed > @@ -532,6 +533,7 @@ endif > $(verbose) echo "override MLS_CATS := $(MLS_CATS)" >> $(headerdir)/build.conf > $(verbose) echo "override MCS_CATS := $(MCS_CATS)" >> $(headerdir)/build.conf > $(verbose) $(INSTALL) -m 644 $(support)/Makefile.devel $(headerdir)/Makefile > + $(verbose) $(LN) -sf $(headerdir)/Makefile $(modpkgdir)/Makefile I think instead we should update the header install structure to be in line with what the distributions have done for years, i.e. install into /usr/share/selinux/devel. -- Chris PeBenito