From: Jackie Huang <jackie.hu...@windriver.com>

auditd.service should be packaged in 'auditd' instead
of 'audit' since the required binaries and config files
are all in 'auditd'.

Signed-off-by: Jackie Huang <jackie.hu...@windriver.com>
---
 recipes-security/audit/audit_2.7.1.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/recipes-security/audit/audit_2.7.1.bb 
b/recipes-security/audit/audit_2.7.1.bb
index 975e6e9..5a7e923 100644
--- a/recipes-security/audit/audit_2.7.1.bb
+++ b/recipes-security/audit/audit_2.7.1.bb
@@ -24,7 +24,8 @@ UPDATERCPN = "auditd"
 INITSCRIPT_NAME = "auditd"
 INITSCRIPT_PARAMS = "defaults"
 
-SYSTEMD_SERVICE_${PN} = "auditd.service"
+SYSTEMD_PACKAGES = "auditd"
+SYSTEMD_SERVICE_auditd = "auditd.service"
 
 DEPENDS += "python tcp-wrappers libcap-ng linux-libc-headers (>= 2.6.30) 
swig-native"
 
-- 
2.11.0

-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to