summaryrefslogtreecommitdiff
path: root/recipes-kernel/rs9113/rs9113immunity.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-kernel/rs9113/rs9113immunity.inc')
-rw-r--r--recipes-kernel/rs9113/rs9113immunity.inc37
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
+}