diff options
Diffstat (limited to 'recipes-security/selinux/policycoreutils/policycoreutils-fix-load_policy-install-path.patch')
-rw-r--r-- | recipes-security/selinux/policycoreutils/policycoreutils-fix-load_policy-install-path.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/recipes-security/selinux/policycoreutils/policycoreutils-fix-load_policy-install-path.patch b/recipes-security/selinux/policycoreutils/policycoreutils-fix-load_policy-install-path.patch new file mode 100644 index 0000000..2136781 --- /dev/null +++ b/recipes-security/selinux/policycoreutils/policycoreutils-fix-load_policy-install-path.patch | |||
@@ -0,0 +1,29 @@ | |||
1 | From 46077df498b8bb54964506f03fd95390aaaaa392 Mon Sep 17 00:00:00 2001 | ||
2 | From: Yi Zhao <yi.zhao@windriver.com> | ||
3 | Date: Tue, 4 Sep 2018 14:41:13 +0800 | ||
4 | Subject: [PATCH] policycoreutils: fix load_policy install path | ||
5 | |||
6 | Change path from /usr/sbin to /sbin for backward compatibility | ||
7 | |||
8 | Upstream-Status: Inappropriate [embedded specific] | ||
9 | |||
10 | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> | ||
11 | --- | ||
12 | load_policy/Makefile | 2 +- | ||
13 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
14 | |||
15 | diff --git a/load_policy/Makefile b/load_policy/Makefile | ||
16 | index 568d5d4..7fbd077 100644 | ||
17 | --- a/load_policy/Makefile | ||
18 | +++ b/load_policy/Makefile | ||
19 | @@ -1,6 +1,6 @@ | ||
20 | # Installation directories. | ||
21 | PREFIX ?= /usr | ||
22 | -SBINDIR ?= $(PREFIX)/sbin | ||
23 | +SBINDIR ?= /sbin | ||
24 | MANDIR ?= $(PREFIX)/share/man | ||
25 | LOCALEDIR ?= $(DESTDIR)$(PREFIX)/share/locale | ||
26 | |||
27 | -- | ||
28 | 2.7.4 | ||
29 | |||