summaryrefslogtreecommitdiff
path: root/meta/recipes-extended
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 14:39:16 +0100
commit3fce22d81cc27629c7c3fd4c174b68c8ced468cf (patch)
treee030b3501779415aa8c444ae0e1119f4cbce86a0 /meta/recipes-extended
parentbc45d990938c1b1d761cee6e90464d22f854a2ab (diff)
downloadopenembedded-core-3fce22d81cc27629c7c3fd4c174b68c8ced468cf.tar.gz
openembedded-core-3fce22d81cc27629c7c3fd4c174b68c8ced468cf.tar.bz2
openembedded-core-3fce22d81cc27629c7c3fd4c174b68c8ced468cf.zip
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. Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended')
-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"
SECTION = "base"
LICENSE = "GPLv2"
DEPENDS = "popt glib-2.0"
-PR = "r2"
+PR = "r3"
LIC_FILES_CHKSUM = "file://COPYING;md5=ebf4e8b49780ab187d51bd26aaa022c6"
@@ -22,6 +22,6 @@ ALTERNATIVE_LINK_NAME[functions] = "${sysconfdir}/init.d/functions"
do_configure[noexec] = "1"
do_install(){
- install -d ${D}/etc/init.d/
- install -m 0755 ${S}/rc.d/init.d/functions ${D}/etc/init.d/functions
+ install -d ${D}${sysconfdir}/init.d/
+ install -m 0755 ${S}/rc.d/init.d/functions ${D}${sysconfdir}/init.d/functions
}