summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/usbinit/usbinit.bb
diff options
context:
space:
mode:
authorJavier Martinez Canillas <javier@dowhile0.org>2012-08-05 21:48:52 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-06 15:18:50 +0100
commit7ada514100a94f323c762ce16dc1eec4bfb6a81c (patch)
tree899edca86aed2c71913cb0922c7d440739eca26b /meta/recipes-bsp/usbinit/usbinit.bb
parent250dd223ca6d81aa14557274eafcfccda5bc459d (diff)
downloadpoky-7ada514100a94f323c762ce16dc1eec4bfb6a81c.tar.gz
usbinit: use ${sysconfdir} instead of /etc for packaging
It is considered good practice to use the build system provided variables instead of directly specify hardcoded paths. (From OE-Core rev: 3068d5c44667bc238f2331d36cb116403560c83f) Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp/usbinit/usbinit.bb')
-rw-r--r--meta/recipes-bsp/usbinit/usbinit.bb8
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/recipes-bsp/usbinit/usbinit.bb b/meta/recipes-bsp/usbinit/usbinit.bb
index e2a036ede7..37e3b1639b 100644
--- a/meta/recipes-bsp/usbinit/usbinit.bb
+++ b/meta/recipes-bsp/usbinit/usbinit.bb
@@ -3,16 +3,16 @@ DESCRIPTION = "Initscript to manage gadget Ethernet"
3LICENSE = "GPLv2" 3LICENSE = "GPLv2"
4LIC_FILES_CHKSUM = "file://${WORKDIR}/COPYING.GPL;md5=751419260aa954499f7abaabaa882bbe" 4LIC_FILES_CHKSUM = "file://${WORKDIR}/COPYING.GPL;md5=751419260aa954499f7abaabaa882bbe"
5 5
6PR = "r2" 6PR = "r3"
7 7
8SRC_URI = "file://usb-gether \ 8SRC_URI = "file://usb-gether \
9 file://COPYING.GPL" 9 file://COPYING.GPL"
10S = "${WORKDIR}" 10S = "${WORKDIR}"
11 11
12do_install() { 12do_install() {
13 install -d ${D}/etc 13 install -d ${D}${sysconfdir}
14 install -d ${D}/etc/init.d 14 install -d ${D}${sysconfdir}/init.d
15 install usb-gether ${D}/etc/init.d 15 install usb-gether ${D}${sysconfdir}/init.d
16} 16}
17 17
18inherit update-rc.d allarch 18inherit update-rc.d allarch