summaryrefslogtreecommitdiffstats
path: root/recipes-security/refpolicy
diff options
context:
space:
mode:
authorXin Ouyang <xin.ouyang@windriver.com>2014-05-16 18:05:46 +0800
committerXin Ouyang <xin.ouyang@windriver.com>2014-05-16 18:05:46 +0800
commita7f3884cb7eed743f49e200cb7af66b2ec112b1e (patch)
tree7ff2098e9ca914cfd9a228b5fa3343334a6f5087 /recipes-security/refpolicy
parent16854eaa7d1fe91730698f55cc018e263523b55c (diff)
downloadmeta-selinux-a7f3884cb7eed743f49e200cb7af66b2ec112b1e.tar.gz
refpolicy-*: un-inherit because not autotools package
Signed-off-by: Xin Ouyang <xin.ouyang@windriver.com>
Diffstat (limited to 'recipes-security/refpolicy')
-rw-r--r--recipes-security/refpolicy/refpolicy_common.inc7
1 files changed, 3 insertions, 4 deletions
diff --git a/recipes-security/refpolicy/refpolicy_common.inc b/recipes-security/refpolicy/refpolicy_common.inc
index 4d05382..54a0168 100644
--- a/recipes-security/refpolicy/refpolicy_common.inc
+++ b/recipes-security/refpolicy/refpolicy_common.inc
@@ -22,7 +22,7 @@ RDEPENDS_${PN} += "selinux-config"
22 22
23PACKAGE_ARCH = "${MACHINE_ARCH}" 23PACKAGE_ARCH = "${MACHINE_ARCH}"
24 24
25inherit autotools pythonnative 25inherit pythonnative
26 26
27PARALLEL_MAKE = "" 27PARALLEL_MAKE = ""
28 28
@@ -61,8 +61,7 @@ do_compile() {
61} 61}
62 62
63do_install() { 63do_install() {
64 oe_runmake install \ 64 oe_runmake 'DESTDIR=${D}' 'prefix=${D}${prefix}' install
65 DESTDIR=${D}
66 65
67 # Prepare to create policy store 66 # Prepare to create policy store
68 mkdir -p ${D}${sysconfdir}/selinux/ 67 mkdir -p ${D}${sysconfdir}/selinux/
@@ -116,7 +115,7 @@ EOF
116 fi 115 fi
117 116
118 # install policy headers 117 # install policy headers
119 oe_runmake install-headers DESTDIR=${D} 118 oe_runmake 'DESTDIR=${D}' 'prefix=${D}${prefix}' install-headers
120 119
121 # Fix symbol link policy.kern 120 # Fix symbol link policy.kern
122 link_path=`readlink -f ${D}${sysconfdir}/selinux/${POLICY_NAME}/modules/active/policy.kern` 121 link_path=`readlink -f ${D}${sysconfdir}/selinux/${POLICY_NAME}/modules/active/policy.kern`