diff options
author | Xin Ouyang <Xin.Ouyang@windriver.com> | 2012-11-08 10:54:16 +0800 |
---|---|---|
committer | Xin Ouyang <Xin.Ouyang@windriver.com> | 2012-11-08 10:54:16 +0800 |
commit | 43a177fe9706e9c6090b2924aa540db298ddf27a (patch) | |
tree | 7f447cba1c8ae2539b65a7b83bce59012ca1773f | |
parent | 731966a462adb7bd5284a328ca4633dfa1a644f4 (diff) | |
download | meta-selinux-43a177fe9706e9c6090b2924aa540db298ddf27a.tar.gz |
refpolicy*: make to use pythonnative
Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
-rw-r--r-- | recipes-security/refpolicy/refpolicy-mls_2.20120725.bb | 2 | ||||
-rw-r--r-- | recipes-security/refpolicy/refpolicy-standard_2.20120725.bb | 2 | ||||
-rw-r--r-- | recipes-security/refpolicy/refpolicy_common.inc | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/recipes-security/refpolicy/refpolicy-mls_2.20120725.bb b/recipes-security/refpolicy/refpolicy-mls_2.20120725.bb index 61577a9..bfb08be 100644 --- a/recipes-security/refpolicy/refpolicy-mls_2.20120725.bb +++ b/recipes-security/refpolicy/refpolicy-mls_2.20120725.bb | |||
@@ -5,7 +5,7 @@ It allows giving data labels such as \"Top Secret\" and preventing \ | |||
5 | such data from leaking to processes or files with lower classification. \ | 5 | such data from leaking to processes or files with lower classification. \ |
6 | " | 6 | " |
7 | 7 | ||
8 | PR = "r0" | 8 | PR = "r1" |
9 | 9 | ||
10 | POLICY_NAME = "mls" | 10 | POLICY_NAME = "mls" |
11 | POLICY_TYPE = "mls" | 11 | POLICY_TYPE = "mls" |
diff --git a/recipes-security/refpolicy/refpolicy-standard_2.20120725.bb b/recipes-security/refpolicy/refpolicy-standard_2.20120725.bb index b64a461..fdd289a 100644 --- a/recipes-security/refpolicy/refpolicy-standard_2.20120725.bb +++ b/recipes-security/refpolicy/refpolicy-standard_2.20120725.bb | |||
@@ -3,7 +3,7 @@ DESCRIPTION = "\ | |||
3 | This is the reference policy for SELinux built with type enforcement \ | 3 | This is the reference policy for SELinux built with type enforcement \ |
4 | only." | 4 | only." |
5 | 5 | ||
6 | PR = "r0" | 6 | PR = "r1" |
7 | 7 | ||
8 | POLICY_NAME = "standard" | 8 | POLICY_NAME = "standard" |
9 | POLICY_TYPE = "standard" | 9 | POLICY_TYPE = "standard" |
diff --git a/recipes-security/refpolicy/refpolicy_common.inc b/recipes-security/refpolicy/refpolicy_common.inc index e47b754..f071f71 100644 --- a/recipes-security/refpolicy/refpolicy_common.inc +++ b/recipes-security/refpolicy/refpolicy_common.inc | |||
@@ -31,7 +31,7 @@ EXTRA_OEMAKE += "NAME=${POLICY_NAME} \ | |||
31 | 31 | ||
32 | EXTRA_OEMAKE += "tc_usrbindir=${STAGING_BINDIR_NATIVE}" | 32 | EXTRA_OEMAKE += "tc_usrbindir=${STAGING_BINDIR_NATIVE}" |
33 | EXTRA_OEMAKE += "OUTPUT_POLICY=`${STAGING_BINDIR_NATIVE}/checkpolicy -V | cut -d' ' -f1`" | 33 | EXTRA_OEMAKE += "OUTPUT_POLICY=`${STAGING_BINDIR_NATIVE}/checkpolicy -V | cut -d' ' -f1`" |
34 | EXTRA_OEMAKE += "CC='${BUILD_CC}' CFLAGS='${BUILD_CFLAGS}'" | 34 | EXTRA_OEMAKE += "CC='${BUILD_CC}' CFLAGS='${BUILD_CFLAGS}' PYTHON='${PYTHON}'" |
35 | 35 | ||
36 | do_compile() { | 36 | do_compile() { |
37 | oe_runmake conf | 37 | oe_runmake conf |