diff options
author | Roy.Li <rongqing.li@windriver.com> | 2012-12-11 14:35:19 +0800 |
---|---|---|
committer | Xin Ouyang <Xin.Ouyang@windriver.com> | 2012-12-12 10:00:56 +0800 |
commit | 801290661302872fb1d35c1194b71d8decac4802 (patch) | |
tree | 19db8fc57f369a4a3f396800b451c995c84a29d6 | |
parent | 1c285bd0e74c53331f04ae928af9dedcebb21fad (diff) | |
download | meta-selinux-801290661302872fb1d35c1194b71d8decac4802.tar.gz |
policycoreutils: install init script under /etc/init.d/
Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
-rw-r--r-- | recipes-security/selinux/policycoreutils_2.1.10.bb | 3 | ||||
-rw-r--r-- | recipes-security/selinux/policycoreutils_git.bb | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/recipes-security/selinux/policycoreutils_2.1.10.bb b/recipes-security/selinux/policycoreutils_2.1.10.bb index ced0314..44f5ee8 100644 --- a/recipes-security/selinux/policycoreutils_2.1.10.bb +++ b/recipes-security/selinux/policycoreutils_2.1.10.bb | |||
@@ -5,7 +5,7 @@ load_policy to load policies, setfiles to label filesystems, newrole \ | |||
5 | to switch roles, and run_init to run /etc/init.d scripts in the proper \ | 5 | to switch roles, and run_init to run /etc/init.d scripts in the proper \ |
6 | context." | 6 | context." |
7 | SECTION = "base" | 7 | SECTION = "base" |
8 | PR = "r6" | 8 | PR = "r7" |
9 | LICENSE = "GPLv2+" | 9 | LICENSE = "GPLv2+" |
10 | LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833" | 10 | LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833" |
11 | 11 | ||
@@ -61,6 +61,7 @@ AUDITH="`ls ${STAGING_INCDIR}/libaudit.h >/dev/null 2>&1 && echo /usr/include/li | |||
61 | PAMH="`ls ${STAGING_INCDIR}/security/pam_appl.h >/dev/null 2>&1 && echo /usr/include/security/pam_appl.h `" | 61 | PAMH="`ls ${STAGING_INCDIR}/security/pam_appl.h >/dev/null 2>&1 && echo /usr/include/security/pam_appl.h `" |
62 | EXTRA_OEMAKE += "${@base_contains('DISTRO_FEATURES', 'pam', 'PAMH=${PAMH} AUDITH=${AUDITH}', 'PAMH= AUDITH= ', d)} INOTIFYH=n" | 62 | EXTRA_OEMAKE += "${@base_contains('DISTRO_FEATURES', 'pam', 'PAMH=${PAMH} AUDITH=${AUDITH}', 'PAMH= AUDITH= ', d)} INOTIFYH=n" |
63 | EXTRA_OEMAKE += "PREFIX=${D}" | 63 | EXTRA_OEMAKE += "PREFIX=${D}" |
64 | EXTRA_OEMAKE += "INITDIR=${D}/etc/init.d" | ||
64 | 65 | ||
65 | BBCLASSEXTEND = "native" | 66 | BBCLASSEXTEND = "native" |
66 | 67 | ||
diff --git a/recipes-security/selinux/policycoreutils_git.bb b/recipes-security/selinux/policycoreutils_git.bb index 91a9938..1d7ad5c 100644 --- a/recipes-security/selinux/policycoreutils_git.bb +++ b/recipes-security/selinux/policycoreutils_git.bb | |||
@@ -5,7 +5,7 @@ load_policy to load policies, setfiles to label filesystems, newrole \ | |||
5 | to switch roles, and run_init to run /etc/init.d scripts in the proper \ | 5 | to switch roles, and run_init to run /etc/init.d scripts in the proper \ |
6 | context." | 6 | context." |
7 | SECTION = "base" | 7 | SECTION = "base" |
8 | PR = "r6" | 8 | PR = "r7" |
9 | LICENSE = "GPLv2+" | 9 | LICENSE = "GPLv2+" |
10 | LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833" | 10 | LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833" |
11 | DEFAULT_PREFERENCE = "-1" | 11 | DEFAULT_PREFERENCE = "-1" |
@@ -61,6 +61,7 @@ AUDITH="`ls ${STAGING_INCDIR}/libaudit.h >/dev/null 2>&1 && echo /usr/include/li | |||
61 | PAMH="`ls ${STAGING_INCDIR}/security/pam_appl.h >/dev/null 2>&1 && echo /usr/include/security/pam_appl.h `" | 61 | PAMH="`ls ${STAGING_INCDIR}/security/pam_appl.h >/dev/null 2>&1 && echo /usr/include/security/pam_appl.h `" |
62 | EXTRA_OEMAKE += "${@base_contains('DISTRO_FEATURES', 'pam', 'PAMH=${PAMH} AUDITH=${AUDITH}', 'PAMH= AUDITH= ', d)} INOTIFYH=n" | 62 | EXTRA_OEMAKE += "${@base_contains('DISTRO_FEATURES', 'pam', 'PAMH=${PAMH} AUDITH=${AUDITH}', 'PAMH= AUDITH= ', d)} INOTIFYH=n" |
63 | EXTRA_OEMAKE += "PREFIX=${D}" | 63 | EXTRA_OEMAKE += "PREFIX=${D}" |
64 | EXTRA_OEMAKE += "INITDIR=${D}/etc/init.d" | ||
64 | 65 | ||
65 | BBCLASSEXTEND = "native" | 66 | BBCLASSEXTEND = "native" |
66 | 67 | ||