From 4bb6f26b05450777d14aa96e10783066c2503dc2 Mon Sep 17 00:00:00 2001 From: John Klug Date: Wed, 11 Nov 2020 16:17:52 -0600 Subject: Add new BSP submodule for Atmel Processors. --- recipes-kernel/rs9113/rs9113immunity.inc | 37 ++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 recipes-kernel/rs9113/rs9113immunity.inc (limited to 'recipes-kernel/rs9113/rs9113immunity.inc') 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 +} -- cgit v1.2.3