On Tue, May 29, 2018 at 9:29 AM, Laurent Bigonville <bi...@debian.org> wrote: > From: Laurent Bigonville <bi...@bigon.be> > > --- > restorecond/Makefile | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/restorecond/Makefile b/restorecond/Makefile > index 25be18d4..fed65bba 100644 > --- a/restorecond/Makefile > +++ b/restorecond/Makefile > @@ -9,7 +9,7 @@ DBUSSERVICEDIR = $(PREFIX)/share/dbus-1/services > SYSTEMDDIR ?= $(PREFIX)/lib/systemd > > autostart_DATA = sealertauto.desktop > -INITDIR ?= $(DESTDIR)/etc/rc.d/init.d > +INITDIR ?= /etc/rc.d/init.d > SELINUXDIR = $(DESTDIR)/etc/selinux
This looks good to me, but seeing the SELINUXDIR definition, I am wondering whether this line should also be migrated to remove DESTDIR from it. This could be done in an other patch. Nicolas > > DBUSFLAGS = -DHAVE_DBUS $(shell $(PKG_CONFIG) --cflags dbus-glib-1) > @@ -42,8 +42,8 @@ install: all > -mkdir -p $(DESTDIR)$(SBINDIR) > install -m 755 restorecond $(DESTDIR)$(SBINDIR) > install -m 644 restorecond.8 $(DESTDIR)$(MANDIR)/man8 > - -mkdir -p $(INITDIR) > - install -m 755 restorecond.init $(INITDIR)/restorecond > + -mkdir -p $(DESTDIR)$(INITDIR) > + install -m 755 restorecond.init $(DESTDIR)$(INITDIR)/restorecond > -mkdir -p $(SELINUXDIR) > install -m 644 restorecond.conf $(SELINUXDIR)/restorecond.conf > install -m 644 restorecond_user.conf > $(SELINUXDIR)/restorecond_user.conf > -- > 2.17.0 _______________________________________________ Selinux mailing list Selinux@tycho.nsa.gov To unsubscribe, send email to selinux-le...@tycho.nsa.gov. To get help, send an email containing "help" to selinux-requ...@tycho.nsa.gov.