[yocto] [meta-selinux][PATCH 01/16] selinux: uprev inc files to 2.8 (20180524)

Yi Zhao yi.zhao at windriver.com
Tue Sep 4 17:18:12 PDT 2018


Signed-off-by: Yi Zhao <yi.zhao at windriver.com>
---
 .../selinux/{selinux_20170804.inc => selinux_20180524.inc}       | 2 +-
 recipes-security/selinux/selinux_common.inc                      | 9 +++++----
 2 files changed, 6 insertions(+), 5 deletions(-)
 rename recipes-security/selinux/{selinux_20170804.inc => selinux_20180524.inc} (84%)

diff --git a/recipes-security/selinux/selinux_20170804.inc b/recipes-security/selinux/selinux_20180524.inc
similarity index 84%
rename from recipes-security/selinux/selinux_20170804.inc
rename to recipes-security/selinux/selinux_20180524.inc
index 1c11208..b36b333 100644
--- a/recipes-security/selinux/selinux_20170804.inc
+++ b/recipes-security/selinux/selinux_20180524.inc
@@ -1,4 +1,4 @@
-SELINUX_RELEASE = "20170804"
+SELINUX_RELEASE = "20180524"
 
 SRC_URI = "https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/${SELINUX_RELEASE}/${BPN}-${PV}.tar.gz"
 
diff --git a/recipes-security/selinux/selinux_common.inc b/recipes-security/selinux/selinux_common.inc
index e4c23a1..383f62d 100644
--- a/recipes-security/selinux/selinux_common.inc
+++ b/recipes-security/selinux/selinux_common.inc
@@ -9,8 +9,9 @@ do_compile() {
 do_install() {
     oe_runmake install \
             DESTDIR="${D}" \
-            PREFIX="${D}/${prefix}" \
-            INCLUDEDIR="${D}/${includedir}" \
-            LIBDIR="${D}/${libdir}" \
-            SHLIBDIR="${D}/${base_libdir}"
+            PREFIX="${prefix}" \
+            INCLUDEDIR="${includedir}" \
+            LIBDIR="${libdir}" \
+            SHLIBDIR="${base_libdir}" \
+            SYSTEMDDIR="${systemd_unitdir}"
 }
-- 
2.7.4



More information about the yocto mailing list