aboutsummaryrefslogtreecommitdiffstats
path: root/testing/policycoreutils/busybox-install-compat.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/policycoreutils/busybox-install-compat.patch')
-rw-r--r--testing/policycoreutils/busybox-install-compat.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/policycoreutils/busybox-install-compat.patch b/testing/policycoreutils/busybox-install-compat.patch
index aba281d57ac..bb3369b7abf 100644
--- a/testing/policycoreutils/busybox-install-compat.patch
+++ b/testing/policycoreutils/busybox-install-compat.patch
@@ -9,3 +9,14 @@
done
%.mo: %.po
+--- a/sestatus/Makefile
++++ b/sestatus/Makefile
+@@ -22,7 +22,7 @@
+ # Some tools hard code /usr/sbin/sestatus ; add a compatibility symlink
+ # install will overwrite a symlink, so create the symlink before calling
+ # install to allow distributions with BINDIR == SBINDIR
+- ln -sf --relative $(DESTDIR)$(BINDIR)/sestatus $(DESTDIR)$(SBINDIR)
++ ln -sf $(DESTDIR)$(BINDIR)/sestatus $(DESTDIR)$(SBINDIR)
+ install -m 755 sestatus $(DESTDIR)$(BINDIR)
+ install -m 644 sestatus.8 $(DESTDIR)$(MANDIR)/man8
+ install -m 644 sestatus.conf.5 $(DESTDIR)$(MANDIR)/man5