summaryrefslogtreecommitdiffstats
path: root/recipes-security/selinux/policycoreutils/policycoreutils-loadpolicy-symlink.patch
diff options
context:
space:
mode:
authorYi Zhao <yi.zhao@windriver.com>2018-09-05 08:18:18 +0800
committerJoe MacDonald <joe_macdonald@mentor.com>2018-09-07 16:13:57 -0400
commit77b61a4fb685634e3e966f1c795ee0ec8bb9a2bb (patch)
tree722a3163560d5a05758261635fa8b44e221db363 /recipes-security/selinux/policycoreutils/policycoreutils-loadpolicy-symlink.patch
parentcf7a0c932d082a4e461d7a5bcb861d8e6b8e6dbe (diff)
downloadmeta-selinux-77b61a4fb685634e3e966f1c795ee0ec8bb9a2bb.tar.gz
policycoreutils: uprev to 2.8 (20180524)
Remove unused patch: policycoreutils-loadpolicy-symlink.patch Add the following patches to change commands path for backward compatibility: policycoreutils-fix-fixfiles-install-path.patch policycoreutils-fix-fixfiles-install-path.patch Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'recipes-security/selinux/policycoreutils/policycoreutils-loadpolicy-symlink.patch')
-rw-r--r--recipes-security/selinux/policycoreutils/policycoreutils-loadpolicy-symlink.patch19
1 files changed, 0 insertions, 19 deletions
diff --git a/recipes-security/selinux/policycoreutils/policycoreutils-loadpolicy-symlink.patch b/recipes-security/selinux/policycoreutils/policycoreutils-loadpolicy-symlink.patch
deleted file mode 100644
index ef9936a..0000000
--- a/recipes-security/selinux/policycoreutils/policycoreutils-loadpolicy-symlink.patch
+++ /dev/null
@@ -1,19 +0,0 @@
1policycoreutils: Patch Makefile to get load_policy symlink right
2
3Setting DESTDIR in the policycoreutils do_install creates a bad
4symlink for load_policy. This patch fixes up the Makefile to
5create the symlink relative to DESTDIR.
6
7Signed-off-by: Philip Tricca <flihp@twobit.us>
8
9--- a/load_policy/Makefile
10+++ b/load_policy/Makefile
11@@ -19,7 +19,7 @@ install: all
12 test -d $(MANDIR)/man8 || install -m 755 -d $(MANDIR)/man8
13 install -m 644 load_policy.8 $(MANDIR)/man8/
14 -mkdir -p $(USRSBINDIR)
15- -ln -sf $(SBINDIR)/load_policy $(USRSBINDIR)/load_policy
16+ -ln -sf $(subst $(DESTDIR),,$(SBINDIR))/load_policy $(USRSBINDIR)/load_policy
17
18 clean:
19 -rm -f $(TARGETS) *.o