diff options
3 files changed, 1 insertions, 60 deletions
diff --git a/recipes-security/selinux/policycoreutils.inc b/recipes-security/selinux/policycoreutils.inc index e1dd45b..98000de 100644 --- a/recipes-security/selinux/policycoreutils.inc +++ b/recipes-security/selinux/policycoreutils.inc | |||
| @@ -9,8 +9,6 @@ LICENSE = "GPLv2+" | |||
| 9 | 9 | ||
| 10 | SRC_URI += "${@bb.utils.contains('DISTRO_FEATURES', 'pam', '${PAM_SRC_URI}', '', d)} \ | 10 | SRC_URI += "${@bb.utils.contains('DISTRO_FEATURES', 'pam', '${PAM_SRC_URI}', '', d)} \ |
| 11 | file://policycoreutils-fixfiles-de-bashify.patch \ | 11 | file://policycoreutils-fixfiles-de-bashify.patch \ |
| 12 | file://policycoreutils-fix-fixfiles-install-path.patch \ | ||
| 13 | file://policycoreutils-fix-load_policy-install-path.patch \ | ||
| 14 | " | 12 | " |
| 15 | 13 | ||
| 16 | PAM_SRC_URI = "file://pam.d/newrole \ | 14 | PAM_SRC_URI = "file://pam.d/newrole \ |
| @@ -130,6 +128,7 @@ EXTRA_OEMAKE += "\ | |||
| 130 | ${@bb.utils.contains('PACKAGECONFIG', 'audit', 'AUDITH=y', 'AUDITH=', d)} \ | 128 | ${@bb.utils.contains('PACKAGECONFIG', 'audit', 'AUDITH=y', 'AUDITH=', d)} \ |
| 131 | INOTIFYH=n \ | 129 | INOTIFYH=n \ |
| 132 | PREFIX=${D} \ | 130 | PREFIX=${D} \ |
| 131 | SBINDIR=${base_sbindir} \ | ||
| 133 | " | 132 | " |
| 134 | 133 | ||
| 135 | BBCLASSEXTEND = "native" | 134 | BBCLASSEXTEND = "native" |
diff --git a/recipes-security/selinux/policycoreutils/policycoreutils-fix-fixfiles-install-path.patch b/recipes-security/selinux/policycoreutils/policycoreutils-fix-fixfiles-install-path.patch deleted file mode 100644 index 96d2075..0000000 --- a/recipes-security/selinux/policycoreutils/policycoreutils-fix-fixfiles-install-path.patch +++ /dev/null | |||
| @@ -1,29 +0,0 @@ | |||
| 1 | From 0546ad883d98799972034f8e0fdc6ca2a7319b07 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Yi Zhao <yi.zhao@windriver.com> | ||
| 3 | Date: Tue, 4 Sep 2018 14:14:45 +0800 | ||
| 4 | Subject: [PATCH] policycoreutils: fix fixfiles 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 | scripts/Makefile | 2 +- | ||
| 13 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 14 | |||
| 15 | diff --git a/scripts/Makefile b/scripts/Makefile | ||
| 16 | index 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 | -- | ||
| 28 | 2.7.4 | ||
| 29 | |||
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 deleted file mode 100644 index 2136781..0000000 --- a/recipes-security/selinux/policycoreutils/policycoreutils-fix-load_policy-install-path.patch +++ /dev/null | |||
| @@ -1,29 +0,0 @@ | |||
| 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 | |||
