diff options
author | Xiaofeng Yan <xiaofeng.yan@windriver.com> | 2012-06-21 15:12:29 +0800 |
---|---|---|
committer | Xin Ouyang <Xin.Ouyang@windriver.com> | 2012-06-25 10:19:02 +0800 |
commit | 984a1f5d490a2ea7c5d74291168c4134b27436e2 (patch) | |
tree | 86f83948583c02128e43218379bcb9af4a9df6d8 | |
parent | da160ef9102274425602d326bfe8386469f9bbb3 (diff) | |
download | meta-selinux-984a1f5d490a2ea7c5d74291168c4134b27436e2.tar.gz |
logrotate: Support selinux
Add the selinux support for logrotate.
Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
-rw-r--r-- | recipes-extended/logrotate/logrotate_3.8.1.bbappend | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/recipes-extended/logrotate/logrotate_3.8.1.bbappend b/recipes-extended/logrotate/logrotate_3.8.1.bbappend new file mode 100644 index 0000000..23d2ae4 --- /dev/null +++ b/recipes-extended/logrotate/logrotate_3.8.1.bbappend | |||
@@ -0,0 +1,5 @@ | |||
1 | PR .= ".1" | ||
2 | |||
3 | DEPENDS += "${@base_contains('DISTRO_FEATURES', 'selinux', 'libselinux', '', d)}" | ||
4 | |||
5 | EXTRA_OEMAKE += "${@base_contains('DISTRO_FEATURES', 'selinux', 'WITH_SELINUX=\"yes\"', '', d)}" | ||