[prev in list] [next in list] [prev in thread] [next in thread]
List: openembedded-core
Subject: [OE-core] [PATCH 4/6] chkconfig: obey sysconfdir, base_libdir
From: kergoth () gmail ! com (Christopher Larson)
Date: 2012-12-29 5:19:26
Message-ID: a961a3a9f4687c9de87a489b1814a2382590b0cb.1356758000.git.chris_larson () mentor ! com
[Download RAW message or body]
From: Christopher Larson <chris_larson at mentor.com>
Signed-off-by: Christopher Larson <chris_larson at mentor.com>
---
meta/recipes-extended/chkconfig/chkconfig_1.3.58.bb | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-extended/chkconfig/chkconfig_1.3.58.bb \
b/meta/recipes-extended/chkconfig/chkconfig_1.3.58.bb index 7915594..df9b193 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 = "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
--
1.8.0
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic