summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/opkg/opkg_0.4.0.bb
diff options
context:
space:
mode:
authorAlejandro del Castillo <alejandro.delcastillo@ni.com>2019-04-10 15:54:23 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-04-12 09:29:06 +0100
commit6d3a0411f3790e188b182b3c6a1fa102d00edda2 (patch)
treee7e442f442ee89c537284932decf4d63275922a7 /meta/recipes-devtools/opkg/opkg_0.4.0.bb
parent5ad7d90ee631146eab2286466fec928f418ec20c (diff)
downloadpoky-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.bb6
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
20SRC_URI[md5sum] = "ae51d95fee599bb4dce08453529158f5" 23SRC_URI[md5sum] = "ae51d95fee599bb4dce08453529158f5"
21SRC_URI[sha256sum] = "f6c00515d8a2ad8f6742a8e73830315d1983ed0459cba77c4d656cfc9e7fe6fe" 24SRC_URI[sha256sum] = "f6c00515d8a2ad8f6742a8e73830315d1983ed0459cba77c4d656cfc9e7fe6fe"
22 25
23inherit autotools pkgconfig systemd 26inherit autotools pkgconfig systemd ptest
24 27
25target_localstatedir := "${localstatedir}" 28target_localstatedir := "${localstatedir}"
26OPKGLIBDIR = "${target_localstatedir}/lib" 29OPKGLIBDIR = "${target_localstatedir}/lib"
@@ -49,6 +52,7 @@ do_install_append () {
49RDEPENDS_${PN} = "${VIRTUAL-RUNTIME_update-alternatives} opkg-arch-config libarchive" 52RDEPENDS_${PN} = "${VIRTUAL-RUNTIME_update-alternatives} opkg-arch-config libarchive"
50RDEPENDS_${PN}_class-native = "" 53RDEPENDS_${PN}_class-native = ""
51RDEPENDS_${PN}_class-nativesdk = "" 54RDEPENDS_${PN}_class-nativesdk = ""
55RDEPENDS_${PN}-ptest += "make binutils python3-core python3-compression"
52RREPLACES_${PN} = "opkg-nogpg opkg-collateral" 56RREPLACES_${PN} = "opkg-nogpg opkg-collateral"
53RCONFLICTS_${PN} = "opkg-collateral" 57RCONFLICTS_${PN} = "opkg-collateral"
54RPROVIDES_${PN} = "opkg-collateral" 58RPROVIDES_${PN} = "opkg-collateral"