summaryrefslogtreecommitdiffstats
path: root/recipes-security/selinux/policycoreutils/policycoreutils-fix-fixfiles-install-path.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-security/selinux/policycoreutils/policycoreutils-fix-fixfiles-install-path.patch')
-rw-r--r--recipes-security/selinux/policycoreutils/policycoreutils-fix-fixfiles-install-path.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/recipes-security/selinux/policycoreutils/policycoreutils-fix-fixfiles-install-path.patch b/recipes-security/selinux/policycoreutils/policycoreutils-fix-fixfiles-install-path.patch
new file mode 100644
index 0000000..96d2075
--- /dev/null
+++ b/recipes-security/selinux/policycoreutils/policycoreutils-fix-fixfiles-install-path.patch
@@ -0,0 +1,29 @@
1From 0546ad883d98799972034f8e0fdc6ca2a7319b07 Mon Sep 17 00:00:00 2001
2From: Yi Zhao <yi.zhao@windriver.com>
3Date: Tue, 4 Sep 2018 14:14:45 +0800
4Subject: [PATCH] policycoreutils: fix fixfiles install path
5
6Change path from /usr/sbin to /sbin for backward compatibility
7
8Upstream-Status: Inappropriate [embedded specific]
9
10Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
11---
12 scripts/Makefile | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15diff --git a/scripts/Makefile b/scripts/Makefile
16index afe5dc4..f7a9e34 100644
17--- a/scripts/Makefile
18+++ b/scripts/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
26 .PHONY: all
27--
282.7.4
29