diff options
author | Javier Martinez Canillas <javier@dowhile0.org> | 2012-08-05 21:48:55 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-08-06 15:18:50 +0100 |
commit | 05e00a93f487c4616b90f6cc66d945463caa5378 (patch) | |
tree | 0282cdd709fb3090fb557211778460a367af96ba /meta | |
parent | b167ee0156b7e18fe741bfd4e383992710c20bc8 (diff) | |
download | poky-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>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-extended/chkconfig/chkconfig_1.3.58.bb | 4 |
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 | ||
13 | DEPENDS = "libnewt popt" | 13 | DEPENDS = "libnewt popt" |
14 | 14 | ||
15 | PR = "r1" | 15 | PR = "r2" |
16 | 16 | ||
17 | SRC_URI = "http://fedorahosted.org/releases/c/h/chkconfig/${BPN}-${PV}.tar.bz2" | 17 | SRC_URI = "http://fedorahosted.org/releases/c/h/chkconfig/${BPN}-${PV}.tar.bz2" |
18 | 18 | ||
@@ -24,6 +24,6 @@ inherit autotools gettext | |||
24 | EXTRA_OEMAKE += 'MANDIR="${mandir}" BINDIR="${base_sbindir}" SBINDIR="${sbindir}"' | 24 | EXTRA_OEMAKE += 'MANDIR="${mandir}" BINDIR="${base_sbindir}" SBINDIR="${sbindir}"' |
25 | 25 | ||
26 | do_install_append() { | 26 | do_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 | } |