mirror of
https://git.yoctoproject.org/poky
synced 2026-02-10 02:33:02 +01:00
chkconfig: obey sysconfdir, base_libdir
(From OE-Core rev: afd9f47080b36d609297e2eb448bc12af8000d29) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
a045d23345
commit
6c7ab511ca
@@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=5574c6965ae5f583e55880e397fbb018"
|
||||
|
||||
DEPENDS = "libnewt popt"
|
||||
|
||||
PR = "r5"
|
||||
PR = "r6"
|
||||
|
||||
SRC_URI = "http://fedorahosted.org/releases/c/h/chkconfig/${BPN}-${PV}.tar.bz2"
|
||||
|
||||
@@ -31,6 +31,12 @@ EXTRA_OEMAKE = "\
|
||||
'MANDIR=${mandir}' \
|
||||
"
|
||||
|
||||
do_unpack[postfuncs] += "obey_variables"
|
||||
do_unpack[vardeps] += "obey_variables"
|
||||
obey_variables () {
|
||||
sed -i -e 's,/etc,${sysconfdir},; s,/lib/systemd,${base_libdir}/systemd,' leveldb.h
|
||||
}
|
||||
|
||||
do_install() {
|
||||
oe_runmake 'DESTDIR=${D}' 'INSTALLNLSDIR=${D}${datadir}/locale' install
|
||||
mkdir -p ${D}${sysconfdir}/chkconfig.d
|
||||
|
||||
Reference in New Issue
Block a user