summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXiaofeng Yan <xiaofeng.yan@windriver.com>2012-06-21 15:12:29 +0800
committerXin Ouyang <Xin.Ouyang@windriver.com>2012-06-25 10:19:02 +0800
commit984a1f5d490a2ea7c5d74291168c4134b27436e2 (patch)
tree86f83948583c02128e43218379bcb9af4a9df6d8
parentda160ef9102274425602d326bfe8386469f9bbb3 (diff)
downloadmeta-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.bbappend5
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 @@
1PR .= ".1"
2
3DEPENDS += "${@base_contains('DISTRO_FEATURES', 'selinux', 'libselinux', '', d)}"
4
5EXTRA_OEMAKE += "${@base_contains('DISTRO_FEATURES', 'selinux', 'WITH_SELINUX=\"yes\"', '', d)}"