summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorGraeme Gregory <dp@xora.org.uk>2007-06-07 09:28:02 +0000
committerGraeme Gregory <dp@xora.org.uk>2007-06-07 09:28:02 +0000
commit2144022dbdeba94f29bb2c659dfbee8dbb5acf97 (patch)
tree8e2077781b1873b8551c39727efe0603e3fe1595 /packages
parent72547c27eabe47d2acfd6c8212bc301e6cf9b4fd (diff)
parent194d2d606117e9ed50860aa41796cd9a51930e50 (diff)
merge of 'b18cfa28782c48bc33a60cf6d234ad4539f49fbb'
and 'c2872048d9bdc1e2243686a61bf7980cd063f42e'
Diffstat (limited to 'packages')
-rw-r--r--packages/usb-gadget-mode/usb-gadget-mode.bb17
1 files changed, 9 insertions, 8 deletions
diff --git a/packages/usb-gadget-mode/usb-gadget-mode.bb b/packages/usb-gadget-mode/usb-gadget-mode.bb
index ab373c772d..3109a4d92e 100644
--- a/packages/usb-gadget-mode/usb-gadget-mode.bb
+++ b/packages/usb-gadget-mode/usb-gadget-mode.bb
@@ -15,7 +15,7 @@ LICENSE = "GPL"
######################################################################################
PV = "0.0.1"
-PR = "r1"
+PR = "r2"
######################################################################################
@@ -30,13 +30,14 @@ SRC_URI = "file://usb-gadget.conf \
######################################################################################
do_install() {
- install -d ${D}/etc
- install -d ${D}/etc/init.d
- install -d ${D}/usr/bin
-
- install -m 0644 ${WORKDIR}/usb-gadget.conf ${D}/etc/default/usb-gadget
- install -m 0755 ${WORKDIR}/usb-gadget.init ${D}/etc/init.d/usb-gadget
- install -m 0755 ${WORKDIR}/usb-gadget ${D}/usr/bin
+ install -d ${D}${sysconfdir}
+ install -d ${D}${sysconfdir}/init.d
+ install -d ${D}${bindir}
+ install -d ${D}${sysconfdir}/default
+
+ install -m 0644 ${WORKDIR}/usb-gadget.conf ${D}${sysconfdir}/default/usb-gadget
+ install -m 0755 ${WORKDIR}/usb-gadget.init ${D}${sysconfdir}/init.d/usb-gadget
+ install -m 0755 ${WORKDIR}/usb-gadget ${D}${bindir}
}
pkg_postinst() {