ltp: add dependency libaio

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]

(From OE-Core rev: 4945eafb7dd0d9e59760fdfad98982937be27517)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Kang Kai
2012-08-29 10:39:40 +00:00
committed by Richard Purdie
parent fd2a6c1baf
commit 698f0dfd2f

View File

@@ -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"