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 14:38:26 +0100 |
commit | 7b77d4372ace6aa2400e3328875b39b4f67476d0 (patch) | |
tree | 7ce6373974fbc29b3af224bdb0dcd2747bc49958 /meta/recipes-extended | |
parent | 998b94adbbc0f0f036c5816fbf6ee594dba90c1c (diff) | |
download | openembedded-core-7b77d4372ace6aa2400e3328875b39b4f67476d0.tar.gz openembedded-core-7b77d4372ace6aa2400e3328875b39b4f67476d0.tar.bz2 openembedded-core-7b77d4372ace6aa2400e3328875b39b4f67476d0.zip |
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.
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/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" DEPENDS = "libnewt popt" -PR = "r1" +PR = "r2" SRC_URI = "http://fedorahosted.org/releases/c/h/chkconfig/${BPN}-${PV}.tar.bz2" @@ -24,6 +24,6 @@ inherit autotools gettext EXTRA_OEMAKE += 'MANDIR="${mandir}" BINDIR="${base_sbindir}" SBINDIR="${sbindir}"' do_install_append() { - mkdir -p ${D}/etc/chkconfig.d + mkdir -p ${D}${sysconfdir}/chkconfig.d rm -f ${D}${sbindir}/update-alternatives } |