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>
DEPENDS = "libnewt popt"
-PR = "r1"
+PR = "r2"
SRC_URI = "http://fedorahosted.org/releases/c/h/chkconfig/${BPN}-${PV}.tar.bz2"
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
}