summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJavier Martinez Canillas <javier@dowhile0.org>2012-08-05 21:48:51 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-06 15:18:50 +0100
commit250dd223ca6d81aa14557274eafcfccda5bc459d (patch)
tree91d280ac69e14b1fdf8bff2c3c52cb78c21a0329
parentcb8f3828f486e9e35613c2f1efe1c2bbc763fdeb (diff)
downloadpoky-250dd223ca6d81aa14557274eafcfccda5bc459d.tar.gz
lsbinitscripts: 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: 3fce22d81cc27629c7c3fd4c174b68c8ced468cf) Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-extended/lsb/lsbinitscripts_9.03.bb6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-extended/lsb/lsbinitscripts_9.03.bb b/meta/recipes-extended/lsb/lsbinitscripts_9.03.bb
index 8071916782..eac4ebb70f 100644
--- a/meta/recipes-extended/lsb/lsbinitscripts_9.03.bb
+++ b/meta/recipes-extended/lsb/lsbinitscripts_9.03.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "SysV init scripts which only is used in an LSB image"
2SECTION = "base" 2SECTION = "base"
3LICENSE = "GPLv2" 3LICENSE = "GPLv2"
4DEPENDS = "popt glib-2.0" 4DEPENDS = "popt glib-2.0"
5PR = "r2" 5PR = "r3"
6 6
7LIC_FILES_CHKSUM = "file://COPYING;md5=ebf4e8b49780ab187d51bd26aaa022c6" 7LIC_FILES_CHKSUM = "file://COPYING;md5=ebf4e8b49780ab187d51bd26aaa022c6"
8 8
@@ -22,6 +22,6 @@ ALTERNATIVE_LINK_NAME[functions] = "${sysconfdir}/init.d/functions"
22do_configure[noexec] = "1" 22do_configure[noexec] = "1"
23 23
24do_install(){ 24do_install(){
25 install -d ${D}/etc/init.d/ 25 install -d ${D}${sysconfdir}/init.d/
26 install -m 0755 ${S}/rc.d/init.d/functions ${D}/etc/init.d/functions 26 install -m 0755 ${S}/rc.d/init.d/functions ${D}${sysconfdir}/init.d/functions
27} 27}