From 984a1f5d490a2ea7c5d74291168c4134b27436e2 Mon Sep 17 00:00:00 2001 From: Xiaofeng Yan Date: Thu, 21 Jun 2012 15:12:29 +0800 Subject: logrotate: Support selinux Add the selinux support for logrotate. Signed-off-by: Xiaofeng Yan Signed-off-by: Xin Ouyang --- recipes-extended/logrotate/logrotate_3.8.1.bbappend | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 recipes-extended/logrotate/logrotate_3.8.1.bbappend 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 @@ +PR .= ".1" + +DEPENDS += "${@base_contains('DISTRO_FEATURES', 'selinux', 'libselinux', '', d)}" + +EXTRA_OEMAKE += "${@base_contains('DISTRO_FEATURES', 'selinux', 'WITH_SELINUX=\"yes\"', '', d)}" -- cgit v1.2.3-54-g00ecf