summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJavier Martinez Canillas <javier@dowhile0.org>2012-08-05 21:48:55 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-06 15:18:50 +0100
commit05e00a93f487c4616b90f6cc66d945463caa5378 (patch)
tree0282cdd709fb3090fb557211778460a367af96ba
parentb167ee0156b7e18fe741bfd4e383992710c20bc8 (diff)
downloadpoky-05e00a93f487c4616b90f6cc66d945463caa5378.tar.gz
chkconfig: 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: 7b77d4372ace6aa2400e3328875b39b4f67476d0) Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-extended/chkconfig/chkconfig_1.3.58.bb4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-extended/chkconfig/chkconfig_1.3.58.bb b/meta/recipes-extended/chkconfig/chkconfig_1.3.58.bb
index 17987a660e..9e0e1a05f0 100644
--- a/meta/recipes-extended/chkconfig/chkconfig_1.3.58.bb
+++ b/meta/recipes-extended/chkconfig/chkconfig_1.3.58.bb
@@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=5574c6965ae5f583e55880e397fbb018"
12 12
13DEPENDS = "libnewt popt" 13DEPENDS = "libnewt popt"
14 14
15PR = "r1" 15PR = "r2"
16 16
17SRC_URI = "http://fedorahosted.org/releases/c/h/chkconfig/${BPN}-${PV}.tar.bz2" 17SRC_URI = "http://fedorahosted.org/releases/c/h/chkconfig/${BPN}-${PV}.tar.bz2"
18 18
@@ -24,6 +24,6 @@ inherit autotools gettext
24EXTRA_OEMAKE += 'MANDIR="${mandir}" BINDIR="${base_sbindir}" SBINDIR="${sbindir}"' 24EXTRA_OEMAKE += 'MANDIR="${mandir}" BINDIR="${base_sbindir}" SBINDIR="${sbindir}"'
25 25
26do_install_append() { 26do_install_append() {
27 mkdir -p ${D}/etc/chkconfig.d 27 mkdir -p ${D}${sysconfdir}/chkconfig.d
28 rm -f ${D}${sbindir}/update-alternatives 28 rm -f ${D}${sbindir}/update-alternatives
29} 29}