From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 077A8E009CE; Fri, 17 Mar 2017 09:59: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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mailout4.zoneedit.com (mailout4.zoneedit.com [64.68.198.17]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id ACDC7E00985 for ; Fri, 17 Mar 2017 09:59:20 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by mailout4.zoneedit.com (Postfix) with ESMTP id CA12F20BAC; Fri, 17 Mar 2017 16:59:18 +0000 (UTC) Received: from mailout4.zoneedit.com ([127.0.0.1]) by localhost (zmo03-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mQy9HPF7r4OA; Fri, 17 Mar 2017 16:59:18 +0000 (UTC) Received: from mail.denix.org (pool-100-15-85-143.washdc.fios.verizon.net [100.15.85.143]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailout4.zoneedit.com (Postfix) with ESMTPSA id 9DA6F208FB; Fri, 17 Mar 2017 16:59:16 +0000 (UTC) Received: by mail.denix.org (Postfix, from userid 1000) id 2FF2C1623E8; Fri, 17 Mar 2017 12:59:16 -0400 (EDT) Date: Fri, 17 Mar 2017 12:59:16 -0400 From: Denys Dmytriyenko To: Khem Raj Message-ID: <20170317165916.GQ15664@denix.org> References: <20170317163653.13127-1-fathi.boudra@linaro.org> MIME-Version: 1.0 In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Cc: meta-ti@yoctoproject.org Subject: Re: [morty-next][PATCH 1/2] kselftests: add libpcap-ng dependency X-BeenThere: meta-ti@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-ti layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Mar 2017 16:59:25 -0000 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Mar 17, 2017 at 04:47:59PM +0000, Khem Raj wrote: > On Fri, Mar 17, 2017 at 9:37 AM Fathi Boudra > wrote: > > > libpcap-ng is required to build capabilities tests. > > > > Signed-off-by: Fathi Boudra > > --- > > recipes-kernel/kselftests/kselftests_4.9.bb | 4 +--- > > 1 file changed, 1 insertion(+), 3 deletions(-) > > > > diff --git a/recipes-kernel/kselftests/kselftests_4.9.bb > > b/recipes-kernel/kselftests/kselftests_4.9.bb > > index a7b4ba67..dd94a65b 100644 > > --- a/recipes-kernel/kselftests/kselftests_4.9.bb > > +++ b/recipes-kernel/kselftests/kselftests_4.9.bb > > @@ -11,7 +11,7 @@ S = "${WORKDIR}/linux-${PV}" > > > > PACKAGE_ARCH = "${MACHINE_ARCH}" > > > > -DEPENDS = "libcap popt rsync-native" > > +DEPENDS = "libcap libcap-ng popt rsync-native" > > > Would ng replace old libcap Are you asking in general or in this particular case? kselftests-capabilities does use libcap-ng and includes cap-ng.h header file, as I mentioned here: https://lists.yoctoproject.org/pipermail/meta-ti/2017-March/009766.html Fathi's fix is indeed better, even though adding another dependency. > > inherit kernel-arch > > > > @@ -139,8 +139,6 @@ FILES_${PN}-x86 = "${bindir}/kselftests/x86" > > FILES_${PN}-zram = "${bindir}/kselftests/zram" > > FILES_${PN}-dbg += "${bindir}/kselftests/*/.debug" > > > > -ALLOW_EMPTY_${PN}-capabilities = "1" > > - > > RDEPENDS_${PN}-cpu-hotplug += "bash" > > RDEPENDS_${PN}-efivarfs += "bash" > > RDEPENDS_${PN}-memory-hotplug += "bash" > > -- > > 2.11.0 > > > > -- > > _______________________________________________ > > meta-ti mailing list > > meta-ti@yoctoproject.org > > https://lists.yoctoproject.org/listinfo/meta-ti > > > -- > _______________________________________________ > meta-ti mailing list > meta-ti@yoctoproject.org > https://lists.yoctoproject.org/listinfo/meta-ti