Skip to contentSkip to conversation

gadget-init: remove

PATCH New Denys Dmytriyenko 1 participant 1 message Sep 30, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gadget-init: remove

This was sysvinit specific version of gadget-init script. As meta-ti provides a systemd specific version, remove this deprecated one.

---
 .../recipes-tisdk/gadget-init/gadget-init.bb  | 21 ----------------
 .../gadget-init/gadget-init/init              | 25 -------------------
 2 files changed, 46 deletions(-)
 delete mode 100644 meta-arago-distro/recipes-tisdk/gadget-init/gadget-init.bb
 delete mode 100644 meta-arago-distro/recipes-tisdk/gadget-init/gadget-init/init
meta-arago-distro/recipes-tisdk/gadget-init/gadget-init.bb deleted +0 -21
deleted file mode 100644
index b13befee..00000000
@@ -1,21 +0,0 @@
-# This recipe is based on the recipe by Koen in meta-texasinstruments
-DESCRIPTION = "Scripts to initialize usb gadgets"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690"
-
-PR = "r3"
-
-SRC_URI = "file://init"
-
-INITSCRIPT_NAME = "storage-gadget-init"
-INITSCRIPT_PARAMS = "defaults 98"
-
-inherit update-rc.d
-
-do_install() {
-    install -d ${D}${sysconfdir}/init.d
-    install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/storage-gadget-init
-}
-
-FILES_${PN} = "${sysconfdir} ${bindir}"
-RRECOMMENDS_${PN} += "kernel-module-g-ether kernel-module-g-mass-storage"
meta-arago-distro/recipes-tisdk/gadget-init/gadget-init/init deleted +0 -25
deleted file mode 100644
index 872f7f56..00000000
@@ -1,25 +0,0 @@
-#!/bin/sh
-
-
-case "$1" in
-    start )
-        # If this is a 3 partition card mount the first and third
-        # partition.  Else only mount the first one.
-        if [ -e /dev/mmcblk0p1 -a -e /dev/mmcblk0p3 ]
-        then
-            modprobe g_mass_storage file=/dev/mmcblk0p1,/dev/mmcblk0p3
-        elif [ -e /dev/mmcblk0p1 ]
-        then
-            modprobe g_mass_storage file=/dev/mmcblk0p1
-        fi
-    ;;
-    stop )
-        lsmod | grep g_mass_storage > /dev/null
-        if [ "$?" == "0" ]
-        then
-            rmmod g_mass_storage
-        fi
-    ;;
-esac
-
-exit 0
Signature · 1 line
2.17.1