nwl-tests: update recipe for new file structure
Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>
This commit is contained in:
parent
8eec0f932c
commit
0e30a45837
|
|
@ -34,7 +34,7 @@ IMAGE_INSTALL:append = " \
|
|||
\
|
||||
networkmanager-nmcli \
|
||||
systemd-conf \
|
||||
nwl-tests-kernel \
|
||||
nwl-tests \
|
||||
\
|
||||
${@bb.utils.contains("MACHINE_FEATURES", "wifi", "${WIFI_PACKAGES}", "", d)} \
|
||||
"
|
||||
|
|
|
|||
|
|
@ -7,20 +7,16 @@ SRC_URI = "git://git@bitbucket.gad.local:7999/nm-nsp/nwl-test.git;protocol=ssh;b
|
|||
|
||||
PV = "1.0+git${SRCPV}"
|
||||
|
||||
SRCREV = "8a3c5de105eb290342ed67e7cbeecb0879da1384"
|
||||
SRCREV = "b20cf128663270b095f51d538b650d0536822069"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
PACKAGES += "${PN}-kernel"
|
||||
RDEPENDS:${PN}-kernel = "${PN} bats"
|
||||
RDEPENDS:${PN} = "bats"
|
||||
|
||||
FILES:${PN} = "${datadir}/*"
|
||||
FILES:${PN}-kernel = "${bindir}/nwl-tests-kernel"
|
||||
FILES:${PN} += "${bindir}/*"
|
||||
|
||||
do_install () {
|
||||
install -d ${D}${bindir}
|
||||
install -m 0755 ${S}/kernel-tests/kernel-tests.bats ${D}${bindir}/nwl-tests-kernel
|
||||
install -d ${D}${datadir}/nwl-tests
|
||||
install -m 0644 ${S}/hardware-specifications/* ${D}${datadir}/nwl-tests/
|
||||
make install PREFIX=${D}${prefix}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue