mirror of
https://git.yoctoproject.org/poky
synced 2026-02-12 03:33:02 +01:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
b167ee0156
commit
05e00a93f4
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user