blob: b13befee58db4e334d1393c2d01fe5ce38007ebb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# 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"
|