Patchwork [1/1] ltp: add dependency libcap

login
register
mail settings
Submitter Kang Kai
Date Sept. 28, 2012, 6:59 a.m.
Message ID <ee4845cd7af5e6bed22e91862efebfd7adf27e93.1348815461.git.kai.kang@windriver.com>
Download mbox | patch
Permalink /patch/37421/
State Accepted
Commit bf5215f095e7e610508fcefe1224c9289c6c56cd
Headers show

Comments

Kang Kai - Sept. 28, 2012, 6:59 a.m.
Similar to libaio, libcap is another dependency of ltp.

If libcap has been done populate_sysroot but rpm/ipk package is not
created, ltp will be compiled with libcap. So when install ltp to a
image, it complains that package libcap is not found.

[Yocto #2973]

Signed-off-by: Kang Kai <kai.kang@windriver.com>
---
 meta/recipes-extended/ltp/ltp_20120903.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
Richard Purdie - Sept. 28, 2012, 10:23 a.m.
On Fri, 2012-09-28 at 14:59 +0800, Kang Kai wrote:
> Similar to libaio, libcap is another dependency of ltp.
> 
> If libcap has been done populate_sysroot but rpm/ipk package is not
> created, ltp will be compiled with libcap. So when install ltp to a
> image, it complains that package libcap is not found.
> 
> [Yocto #2973]
> 
> Signed-off-by: Kang Kai <kai.kang@windriver.com>
> ---
>  meta/recipes-extended/ltp/ltp_20120903.bb |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)

Merged to master, thanks.

Richard

Patch

diff --git a/meta/recipes-extended/ltp/ltp_20120903.bb b/meta/recipes-extended/ltp/ltp_20120903.bb
index 85270ea..e3e760d 100644
--- a/meta/recipes-extended/ltp/ltp_20120903.bb
+++ b/meta/recipes-extended/ltp/ltp_20120903.bb
@@ -19,9 +19,9 @@  LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \
 		    file://utils/benchmark/kernbench-0.42/COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
 		"
 
-DEPENDS = "attr libaio"
+DEPENDS = "attr libaio libcap"
 
-PR = "r0"
+PR = "r1"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/ltp/ltp-full-${PV}.bz2"