diff options
author | Christopher Larson <chris_larson@mentor.com> | 2012-12-28 22:19:26 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-01-07 11:09:41 +0000 |
commit | 6c7ab511ca4e89be721f54bb45b6ef46d4bb9944 (patch) | |
tree | c8275ef53421c7e7439b859b4075833ae07588d8 /meta | |
parent | a045d23345ee8b48217a86284379dff076f11e90 (diff) | |
download | poky-6c7ab511ca4e89be721f54bb45b6ef46d4bb9944.tar.gz |
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>
Diffstat (limited to 'meta')
-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" | |||
12 | 12 | ||
13 | DEPENDS = "libnewt popt" | 13 | DEPENDS = "libnewt popt" |
14 | 14 | ||
15 | PR = "r5" | 15 | PR = "r6" |
16 | 16 | ||
17 | SRC_URI = "http://fedorahosted.org/releases/c/h/chkconfig/${BPN}-${PV}.tar.bz2" | 17 | SRC_URI = "http://fedorahosted.org/releases/c/h/chkconfig/${BPN}-${PV}.tar.bz2" |
18 | 18 | ||
@@ -31,6 +31,12 @@ EXTRA_OEMAKE = "\ | |||
31 | 'MANDIR=${mandir}' \ | 31 | 'MANDIR=${mandir}' \ |
32 | " | 32 | " |
33 | 33 | ||
34 | do_unpack[postfuncs] += "obey_variables" | ||
35 | do_unpack[vardeps] += "obey_variables" | ||
36 | obey_variables () { | ||
37 | sed -i -e 's,/etc,${sysconfdir},; s,/lib/systemd,${base_libdir}/systemd,' leveldb.h | ||
38 | } | ||
39 | |||
34 | do_install() { | 40 | do_install() { |
35 | oe_runmake 'DESTDIR=${D}' 'INSTALLNLSDIR=${D}${datadir}/locale' install | 41 | oe_runmake 'DESTDIR=${D}' 'INSTALLNLSDIR=${D}${datadir}/locale' install |
36 | mkdir -p ${D}${sysconfdir}/chkconfig.d | 42 | mkdir -p ${D}${sysconfdir}/chkconfig.d |