Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 2476AE00C6D; Mon, 31 Jul 2017 23:33:25 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/, * medium trust * [147.11.146.13 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mail1.windriver.com (mail1.windriver.com [147.11.146.13]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 95651E00C59 for ; Mon, 31 Jul 2017 23:33:24 -0700 (PDT) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail1.windriver.com (8.15.2/8.15.1) with ESMTPS id v716XMnd003671 (version=TLSv1 cipher=AES128-SHA bits=128 verify=FAIL) for ; Mon, 31 Jul 2017 23:33:22 -0700 (PDT) Received: from pek-hostel-deb01.wrs.com (128.224.153.151) by ALA-HCA.corp.ad.wrs.com (147.11.189.40) with Microsoft SMTP Server id 14.3.361.1; Mon, 31 Jul 2017 23:33:21 -0700 From: To: Date: Tue, 1 Aug 2017 14:32:56 +0800 Message-ID: <20170801063256.8063-1-jackie.huang@windriver.com> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 Subject: [meta-selinux][PATCH] audit: fix the wrong packaging for auditd.service X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Aug 2017 06:33:25 -0000 Content-Type: text/plain From: Jackie Huang 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 --- 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