diff options
author | John Klug <john.klug@multitech.com> | 2016-11-08 16:19:43 -0600 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2016-11-08 16:19:43 -0600 |
commit | 7e35fa162e883ee2429fbaf49cc8f66ba64d17c9 (patch) | |
tree | fd1072c3bc70bd0774add2d15f24fb5241e5a431 /recipes-kernel/rs9113/rs9113immunity.inc | |
parent | 1c1f43bd70c48cac914dc2e48b326e6170940325 (diff) | |
download | meta-multitech-7e35fa162e883ee2429fbaf49cc8f66ba64d17c9.tar.gz meta-multitech-7e35fa162e883ee2429fbaf49cc8f66ba64d17c9.tar.bz2 meta-multitech-7e35fa162e883ee2429fbaf49cc8f66ba64d17c9.zip |
Move immunity tests to master
Diffstat (limited to 'recipes-kernel/rs9113/rs9113immunity.inc')
-rw-r--r-- | recipes-kernel/rs9113/rs9113immunity.inc | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/recipes-kernel/rs9113/rs9113immunity.inc b/recipes-kernel/rs9113/rs9113immunity.inc new file mode 100644 index 0000000..87521ad --- /dev/null +++ b/recipes-kernel/rs9113/rs9113immunity.inc @@ -0,0 +1,37 @@ +DESCRIPTION = "Immunity testing for rs9113" +SECTION = "base" +PRIORITY = "optional" +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" +PACKAGE_ARCH = "mtcdt" +SRC_URI = " \ + file://immunity/bluetoothXfer.sh \ + file://immunity/LICENSE.txt \ + file://immunity/readme.txt \ + file://immunity/tworadio.sh \ + file://immunity/mguest2g.conf \ + file://immunity/mguest5g.conf \ + file://immunity/conduitr2g.conf \ + file://immunity/conduitr5g.conf \ + file://immunity/wifiXfer.sh \ + file://immunity/SHA256SUMS \ + " + +FILES_${PN} = "/opt/immunity ${sysconfdir}/wpa_supplicant" + +do_install() { + install -m 0755 -d ${D}/opt/immunity + install -d ${D}${sysconfdir}/wpa_supplicant + ls ${WORKDIR} >/tmp/jaklog.txt + echo ${WORKDIR} >>/tmp/jaklog.txt + install -m 0644 ${WORKDIR}/immunity/*.conf ${D}${sysconfdir}/wpa_supplicant + ln -s /etc/wpa_supplicant/conduitr5g.conf ${D}${sysconfdir}/wpa_supplicant/wifitest.conf + install -m 0755 ${WORKDIR}/immunity/*.sh ${D}/opt/immunity + install -m 0644 ${WORKDIR}/immunity/*.txt ${D}/opt/immunity + pwd >>/tmp/jaklog.txt + cd ${D}/opt/immunity + dd if=/dev/urandom of=btfile count=40000 + chmod 0644 btfile + chown root:root btfile + pwd >>/tmp/jaklog.txt +} |