diff options
author | Alejandro del Castillo <alejandro.delcastillo@ni.com> | 2019-04-10 15:54:23 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-04-12 09:29:06 +0100 |
commit | 6d3a0411f3790e188b182b3c6a1fa102d00edda2 (patch) | |
tree | e7e442f442ee89c537284932decf4d63275922a7 /meta/recipes-devtools/opkg/opkg_0.4.0.bb | |
parent | 5ad7d90ee631146eab2286466fec928f418ec20c (diff) | |
download | poky-6d3a0411f3790e188b182b3c6a1fa102d00edda2.tar.gz |
opkg: add ptest
Install opkg test suite and run it as ptest.
(From OE-Core rev: 6b9963a58eec9f5f5fe72021d13e3c89461a9649)
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/opkg/opkg_0.4.0.bb')
-rw-r--r-- | meta/recipes-devtools/opkg/opkg_0.4.0.bb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/recipes-devtools/opkg/opkg_0.4.0.bb b/meta/recipes-devtools/opkg/opkg_0.4.0.bb index a2329d3e71..20c2e0b72a 100644 --- a/meta/recipes-devtools/opkg/opkg_0.4.0.bb +++ b/meta/recipes-devtools/opkg/opkg_0.4.0.bb | |||
@@ -15,12 +15,15 @@ SRC_URI = "http://downloads.yoctoproject.org/releases/${BPN}/${BPN}-${PV}.tar.gz | |||
15 | file://opkg.conf \ | 15 | file://opkg.conf \ |
16 | file://0001-opkg_conf-create-opkg.lock-in-run-instead-of-var-run.patch \ | 16 | file://0001-opkg_conf-create-opkg.lock-in-run-instead-of-var-run.patch \ |
17 | file://0001-libopkg-add-add-ignore-recommends-option.patch \ | 17 | file://0001-libopkg-add-add-ignore-recommends-option.patch \ |
18 | file://0001-regress-issue72.py-resolve-paths-before-comparision.patch \ | ||
19 | file://0001-opkg-add-target-for-testsuite-installation.patch \ | ||
20 | file://run-ptest \ | ||
18 | " | 21 | " |
19 | 22 | ||
20 | SRC_URI[md5sum] = "ae51d95fee599bb4dce08453529158f5" | 23 | SRC_URI[md5sum] = "ae51d95fee599bb4dce08453529158f5" |
21 | SRC_URI[sha256sum] = "f6c00515d8a2ad8f6742a8e73830315d1983ed0459cba77c4d656cfc9e7fe6fe" | 24 | SRC_URI[sha256sum] = "f6c00515d8a2ad8f6742a8e73830315d1983ed0459cba77c4d656cfc9e7fe6fe" |
22 | 25 | ||
23 | inherit autotools pkgconfig systemd | 26 | inherit autotools pkgconfig systemd ptest |
24 | 27 | ||
25 | target_localstatedir := "${localstatedir}" | 28 | target_localstatedir := "${localstatedir}" |
26 | OPKGLIBDIR = "${target_localstatedir}/lib" | 29 | OPKGLIBDIR = "${target_localstatedir}/lib" |
@@ -49,6 +52,7 @@ do_install_append () { | |||
49 | RDEPENDS_${PN} = "${VIRTUAL-RUNTIME_update-alternatives} opkg-arch-config libarchive" | 52 | RDEPENDS_${PN} = "${VIRTUAL-RUNTIME_update-alternatives} opkg-arch-config libarchive" |
50 | RDEPENDS_${PN}_class-native = "" | 53 | RDEPENDS_${PN}_class-native = "" |
51 | RDEPENDS_${PN}_class-nativesdk = "" | 54 | RDEPENDS_${PN}_class-nativesdk = "" |
55 | RDEPENDS_${PN}-ptest += "make binutils python3-core python3-compression" | ||
52 | RREPLACES_${PN} = "opkg-nogpg opkg-collateral" | 56 | RREPLACES_${PN} = "opkg-nogpg opkg-collateral" |
53 | RCONFLICTS_${PN} = "opkg-collateral" | 57 | RCONFLICTS_${PN} = "opkg-collateral" |
54 | RPROVIDES_${PN} = "opkg-collateral" | 58 | RPROVIDES_${PN} = "opkg-collateral" |