diff options
| author | Ross Burton <ross.burton@intel.com> | 2016-04-27 17:20:14 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-06 10:31:15 +0100 |
| commit | 6ebe903f1aed3002ba43419a312c84bfbd1288dd (patch) | |
| tree | 63a7ea1d96c15042edac2b840b6eb662d3038069 | |
| parent | b851cb0a2ead2367feca0e9bb9570368dd478762 (diff) | |
| download | poky-6ebe903f1aed3002ba43419a312c84bfbd1288dd.tar.gz | |
dbus-test: install executables not libtool wrapper scripts
All of the binaries are linked with libtool now, so install the binaries and not
the wrapper scripts.
Also remove dbus-1.init from SRC_URI as dbus-test doesn't use it.
[ YOCTO #9528 ]
(From OE-Core rev: a4b5076b2c06cafff0ce764955d0aa7c334c7a8e)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/recipes-core/dbus/dbus-test_1.10.6.bb | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/meta/recipes-core/dbus/dbus-test_1.10.6.bb b/meta/recipes-core/dbus/dbus-test_1.10.6.bb index a768a09c4a..3748fe6df4 100644 --- a/meta/recipes-core/dbus/dbus-test_1.10.6.bb +++ b/meta/recipes-core/dbus/dbus-test_1.10.6.bb | |||
| @@ -12,7 +12,6 @@ RDEPENDS_${PN}-dev = "" | |||
| 12 | 12 | ||
| 13 | SRC_URI = "http://dbus.freedesktop.org/releases/dbus/dbus-${PV}.tar.gz \ | 13 | SRC_URI = "http://dbus.freedesktop.org/releases/dbus/dbus-${PV}.tar.gz \ |
| 14 | file://tmpdir.patch \ | 14 | file://tmpdir.patch \ |
| 15 | file://dbus-1.init \ | ||
| 16 | file://run-ptest \ | 15 | file://run-ptest \ |
| 17 | file://python-config.patch \ | 16 | file://python-config.patch \ |
| 18 | file://clear-guid_from_server-if-send_negotiate_unix_f.patch \ | 17 | file://clear-guid_from_server-if-send_negotiate_unix_f.patch \ |
| @@ -49,13 +48,11 @@ do_install() { | |||
| 49 | 48 | ||
| 50 | do_install_ptest() { | 49 | do_install_ptest() { |
| 51 | install -d ${D}${PTEST_PATH}/test | 50 | install -d ${D}${PTEST_PATH}/test |
| 52 | case1="shell printf refs syslog" | 51 | l="shell printf refs syslog marshal syntax corrupt dbus-daemon dbus-daemon-eavesdrop loopback relay" |
| 53 | for i in ${case1}; do install ${B}/test/test-$i ${D}${PTEST_PATH}/test; done | 52 | for i in $l; do install ${B}/test/.libs/test-$i ${D}${PTEST_PATH}/test; done |
| 54 | case2="marshal syntax corrupt dbus-daemon dbus-daemon-eavesdrop loopback relay" | 53 | l="bus bus-system bus-launch-helper" |
| 55 | for i in ${case2}; do install ${B}/test/.libs/test-$i ${D}${PTEST_PATH}/test; done | 54 | for i in $l; do install ${B}/bus/.libs/test-$i ${D}${PTEST_PATH}/test; done |
| 56 | case3="bus bus-system bus-launch-helper" | 55 | install ${B}/dbus/.libs/test-dbus ${D}${PTEST_PATH}/test |
| 57 | for i in ${case3}; do install ${B}/bus/test-$i ${D}${PTEST_PATH}/test; done | ||
| 58 | install ${B}/dbus/test-dbus ${D}${PTEST_PATH}/test | ||
| 59 | cp -r ${B}/test/data ${D}${PTEST_PATH}/test | 56 | cp -r ${B}/test/data ${D}${PTEST_PATH}/test |
| 60 | } | 57 | } |
| 61 | RDEPENDS_${PN}-ptest += "bash" | 58 | RDEPENDS_${PN}-ptest += "bash" |
