diff --git a/layers/meta-nwl-distro/recipes-core/images/nwl-ramdisk-minimal.bb b/layers/meta-nwl-distro/recipes-core/images/nwl-ramdisk-minimal.bb index 26d5c45..9e8cf03 100644 --- a/layers/meta-nwl-distro/recipes-core/images/nwl-ramdisk-minimal.bb +++ b/layers/meta-nwl-distro/recipes-core/images/nwl-ramdisk-minimal.bb @@ -15,4 +15,5 @@ COREOS_IMAGE_GENERATE_SWU = "0" IMAGE_INSTALL:append = " \ networkmanager-nmcli \ systemd-conf \ + nwl-tests-kernel \ " diff --git a/layers/meta-nwl-distro/recipes-testing/nwl-tests/nwl-tests_git.bb b/layers/meta-nwl-distro/recipes-testing/nwl-tests/nwl-tests_git.bb new file mode 100644 index 0000000..066ee8f --- /dev/null +++ b/layers/meta-nwl-distro/recipes-testing/nwl-tests/nwl-tests_git.bb @@ -0,0 +1,26 @@ +LICENSE = "CLOSED" +LIC_FILES_CHKSUM = "" + +inherit allarch + +SRC_URI = "git://git@bitbucket.gad.local:7999/nm-nsp/nwl-test.git;protocol=ssh;branch=main" + +PV = "1.0+git${SRCPV}" + +SRCREV = "7d0d962b7ed7bf5cde845d5c81d5eade5f01444d" + +S = "${WORKDIR}/git" + +PACKAGES += "${PN}-kernel" +RDEPENDS:${PN}-kernel = "${PN} bash usbutils" + +FILES:${PN} = "${datadir}/*" +FILES:${PN}-kernel = "${bindir}/nwl-tests-kernel" + +do_install () { + install -d ${D}${bindir} + install -m 0755 ${S}/kernel-tests/kernel-tests.sh ${D}${bindir}/nwl-tests-kernel + install -d ${D}${datadir}/nwl-tests + install -m 0644 ${S}/hardware-specifications/* ${D}${datadir}/nwl-tests/ +} +