summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/usbinit/usbinit.bb
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-09-01 19:09:11 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-09-01 19:09:57 +0100
commitd62ee7eaf2ba025c3f64b2d4e10dc7cec4637612 (patch)
treef36fe3008f36ff75cbdd31b630f8f13f1f205ebb /meta/recipes-bsp/usbinit/usbinit.bb
parentcaab7fc509bf27706ff3248689f6afd04225cfda (diff)
downloadpoky-d62ee7eaf2ba025c3f64b2d4e10dc7cec4637612.tar.gz
packages: Separate out most of the remaining packages into recipes
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/recipes-bsp/usbinit/usbinit.bb')
-rw-r--r--meta/recipes-bsp/usbinit/usbinit.bb18
1 files changed, 18 insertions, 0 deletions
diff --git a/meta/recipes-bsp/usbinit/usbinit.bb b/meta/recipes-bsp/usbinit/usbinit.bb
new file mode 100644
index 0000000000..1d4575bddb
--- /dev/null
+++ b/meta/recipes-bsp/usbinit/usbinit.bb
@@ -0,0 +1,18 @@
1DESCRIPTION = "Initscript to manage gadget Ethernet"
2LICENSE = "GPL"
3PRIORITY = "optional"
4PR = "r1"
5
6SRC_URI = "file://usb-gether"
7S = "${WORKDIR}"
8
9do_install() {
10 install -d ${D}/etc
11 install -d ${D}/etc/init.d
12 install usb-gether ${D}/etc/init.d
13}
14
15inherit update-rc.d
16
17INITSCRIPT_NAME = "usb-gether"
18INITSCRIPT_PARAMS = "start 99 5 2 . stop 20 0 1 6 ."