diff options
author | Christopher Larson <chris_larson@mentor.com> | 2012-12-28 22:19:26 -0700 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2013-01-04 22:12:05 -0800 |
commit | afd9f47080b36d609297e2eb448bc12af8000d29 (patch) | |
tree | a72816f8d0246005d23cbc5879d281ae58a5aff2 | |
parent | 0e6f76d9d5929f8c23916827dccc8389419f0163 (diff) | |
download | openembedded-core-afd9f47080b36d609297e2eb448bc12af8000d29.tar.gz openembedded-core-afd9f47080b36d609297e2eb448bc12af8000d29.tar.bz2 openembedded-core-afd9f47080b36d609297e2eb448bc12af8000d29.zip |
chkconfig: obey sysconfdir, base_libdir
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
-rw-r--r-- | meta/recipes-extended/chkconfig/chkconfig_1.3.58.bb | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/meta/recipes-extended/chkconfig/chkconfig_1.3.58.bb b/meta/recipes-extended/chkconfig/chkconfig_1.3.58.bb index 7915594c6e..df9b193ac2 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 |