| Submitter | Kang Kai |
|---|---|
| Date | Aug. 29, 2012, 10:39 a.m. |
| Message ID | <46554ce323b57ef8d531c4ec53202dfa1b95adcc.1346236551.git.kai.kang@windriver.com> |
| Download | mbox | patch |
| Permalink | /patch/35479/ |
| State | Accepted |
| Commit | 4945eafb7dd0d9e59760fdfad98982937be27517 |
| Headers | show |
Comments
Patch
diff --git a/meta/recipes-extended/ltp/ltp_20120614.bb b/meta/recipes-extended/ltp/ltp_20120614.bb index a01399f..14c0fef 100644 --- a/meta/recipes-extended/ltp/ltp_20120614.bb +++ b/meta/recipes-extended/ltp/ltp_20120614.bb @@ -19,9 +19,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \ file://utils/benchmark/kernbench-0.42/COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ " -DEPENDS = "attr" +DEPENDS = "attr libaio" -PR = "r0" +PR = "r1" SRC_URI = "${SOURCEFORGE_MIRROR}/ltp/ltp-full-${PV}.bz2"
When libaio has been populated to sysroot, ltp will be compiled with libaio. If rpm/deb package of libaio doesn't be created, bitbake core-image-xxx will fail with: | Processing task-core-apps-console... | Processing ltp... | error: Failed dependencies: | libaio.so.1(LIBAIO_0.4) is needed by ltp-20120614-r0.i586 | libaio.so.1(LIBAIO_0.1) is needed by ltp-20120614-r0.i586 | libaio.so.1 is needed by ltp-20120614-r0.i586 | ERROR: Function failed: do_rootfs Add libaio to ltp dependency to fix this issue. Similiar to [Yocto #2973] Signed-off-by: Kang Kai <kai.kang@windriver.com> --- meta/recipes-extended/ltp/ltp_20120614.bb | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)