summaryrefslogtreecommitdiffstats
path: root/recipes-ti/beagleboard/gadget-init.bb
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2011-10-21 11:30:59 +0200
committerKoen Kooi <koen@dominion.thruhere.net>2011-10-21 11:30:59 +0200
commit45ec14197af8ca5b745207e6c7955c40ba18a54a (patch)
treefe9a74a503048e583be7c70785141de125adc7f8 /recipes-ti/beagleboard/gadget-init.bb
parent8380d36fe30c4ad824b00ba7f8c5fc5f70404db8 (diff)
downloadmeta-ti-45ec14197af8ca5b745207e6c7955c40ba18a54a.tar.gz
gadget-init: add in latest batch of workarounds
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'recipes-ti/beagleboard/gadget-init.bb')
-rw-r--r--recipes-ti/beagleboard/gadget-init.bb14
1 files changed, 12 insertions, 2 deletions
diff --git a/recipes-ti/beagleboard/gadget-init.bb b/recipes-ti/beagleboard/gadget-init.bb
index f3300e19..cedb9e82 100644
--- a/recipes-ti/beagleboard/gadget-init.bb
+++ b/recipes-ti/beagleboard/gadget-init.bb
@@ -1,5 +1,7 @@
1DESCRIPTION = "Units to initialize usb gadgets" 1DESCRIPTION = "Units to initialize usb gadgets"
2 2
3PR = "r2"
4
3LICENSE = "MIT" 5LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58" 6LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
5 7
@@ -7,7 +9,8 @@ COMPATIBLE_MACHINE = "(ti33x)"
7PACKAGE_ARCH = "${MACHINE_ARCH}" 9PACKAGE_ARCH = "${MACHINE_ARCH}"
8 10
9SRC_URI = "file://storage-gadget-init.service \ 11SRC_URI = "file://storage-gadget-init.service \
10 file://hokey-pokey.service \ 12 file://99-hokey-pokey.rules \
13 file://hokey-pokey.sh \
11 " 14 "
12 15
13do_install() { 16do_install() {
@@ -17,6 +20,13 @@ do_install() {
17 install -m 0644 $i ${D}${base_libdir}/systemd/system 20 install -m 0644 $i ${D}${base_libdir}/systemd/system
18 ln -sf ../$(basename $i) ${D}${base_libdir}/systemd/system/basic.target.wants/ 21 ln -sf ../$(basename $i) ${D}${base_libdir}/systemd/system/basic.target.wants/
19 done 22 done
23
24 install -d ${D}${sysconfdir}/udev/rules.d
25 install -m 0644 ${WORKDIR}/*.rules ${D}${sysconfdir}/udev/rules.d
26
27 install -d ${D}${bindir}
28 install -m 0755 ${WORKDIR}/*.sh ${D}${bindir}
29
20} 30}
21 31
22FILES_${PN} = "${base_libdir}/systemd" 32FILES_${PN} = "${base_libdir}/systemd ${sysconfdir} ${bindir}"