Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 6F006E00D63; Thu, 27 Jun 2019 01:49:43 -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 https://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 DAF79E00C7D for ; Thu, 27 Jun 2019 01:49:42 -0700 (PDT) Received: from ALA-HCA.corp.ad.wrs.com ([147.11.189.40]) by mail1.windriver.com (8.15.2/8.15.1) with ESMTPS id x5R8ngJG027394 (version=TLSv1 cipher=AES128-SHA bits=128 verify=FAIL) for ; Thu, 27 Jun 2019 01:49:42 -0700 (PDT) Received: from pek-lpg-core2.corp.ad.wrs.com (128.224.153.41) by ALA-HCA.corp.ad.wrs.com (147.11.189.40) with Microsoft SMTP Server id 14.3.439.0; Thu, 27 Jun 2019 01:49:41 -0700 From: To: Date: Thu, 27 Jun 2019 16:49:38 +0800 Message-ID: <1561625378-149930-2-git-send-email-mingli.yu@windriver.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1561625378-149930-1-git-send-email-mingli.yu@windriver.com> References: <1561625378-149930-1-git-send-email-mingli.yu@windriver.com> MIME-Version: 1.0 Subject: [PATCH 2/2] nss-pam-ldapd: add required distro feature check for pam 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: Thu, 27 Jun 2019 08:49:43 -0000 Content-Type: text/plain From: Mingli Yu As nss-pam-ldapd depends on libpam, it should do required distro feature check for pam. Signed-off-by: Mingli Yu --- recipes-support/nss-pam-ldapd/nss-pam-ldapd_0.9.8.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/recipes-support/nss-pam-ldapd/nss-pam-ldapd_0.9.8.bb b/recipes-support/nss-pam-ldapd/nss-pam-ldapd_0.9.8.bb index 404aeca..dfa562f 100644 --- a/recipes-support/nss-pam-ldapd/nss-pam-ldapd_0.9.8.bb +++ b/recipes-support/nss-pam-ldapd/nss-pam-ldapd_0.9.8.bb @@ -20,7 +20,8 @@ SRC_URI = "\ file://nslcd.service \ " -inherit autotools +inherit autotools distro_features_check +REQUIRED_DISTRO_FEATURES = "pam" SRC_URI[md5sum] = "8c99fdc54f4bf9aca8c5f53fdb1403ff" SRC_URI[sha256sum] = "ef7362e7f2003da8c7beb7bcc03c30494acf712625aaac8badc6e7eb16f3453f" -- 2.7.4