systemd: fix ptest to make it able to run on target
authorChen Qi <Qi.Chen@windriver.com>
Mon, 23 Dec 2013 08:17:18 +0000 (03:17 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 28 Jan 2014 00:52:31 +0000 (00:52 +0000)
commitb9b732ae000ea2443e3575ca861241611eae688d
treea0708bb5ef48728927deebab99ad700930abf95b
parent6b29082a6a8a025cf982f3b72c7e4f38713ea11c
systemd: fix ptest to make it able to run on target

This patch mainly involves four changes.
1. Ship the sys.tar.xz and extract it on target to avoid ELOOP error.
2. Make systemd-ptest rdepend on bash and perl as the test cases need them.
3. Fix paths in Makefile so that the test cases could run on target.
4. Install ${libdir}/udev/rules.d directory to make udev-test.pl work.

[YOCTO #5664]
[YOCTO #5673]
[YOCTO #5674]

(From OE-Core rev: 03ed9095b1ca54a060407f355be0ad9ec86b7610)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/systemd/systemd/run-ptest
meta/recipes-core/systemd/systemd_208.bb