summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended
diff options
context:
space:
mode:
authorJoshua Lock <joshua.g.lock@intel.com>2017-03-08 17:24:14 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-10 14:50:11 +0000
commit39ff73152673477e499b39ee1e41eb24625f74ad (patch)
tree0cee86cf5ec8ee4fdc4974dc50712eda57848187 /meta/recipes-extended
parent66395bad7e9f463f06e2003cb85b4726794ef387 (diff)
downloadpoky-39ff73152673477e499b39ee1e41eb24625f74ad.tar.gz
chkconfig-alternatives-native: fix obey_variables
This postfunc assumes it's run from S, whereas that seems not to always be the case in practice. Explicitly define the full path of the file we wish to sed. (From OE-Core rev: 6486dd71c6c9977e5d67fd803d1bd85001654b5a) Signed-off-by: Joshua Lock <joshua.g.lock@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r--meta/recipes-extended/chkconfig/chkconfig-alternatives-native_1.3.59.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-extended/chkconfig/chkconfig-alternatives-native_1.3.59.bb b/meta/recipes-extended/chkconfig/chkconfig-alternatives-native_1.3.59.bb
index c0f7f1674f..87fa8eb605 100644
--- a/meta/recipes-extended/chkconfig/chkconfig-alternatives-native_1.3.59.bb
+++ b/meta/recipes-extended/chkconfig/chkconfig-alternatives-native_1.3.59.bb
@@ -21,7 +21,7 @@ inherit native
21# into the sysroot, as we may use them to construct the rootfs. As such, we 21# into the sysroot, as we may use them to construct the rootfs. As such, we
22# only adjust the paths to match the metadata for the target, not native. 22# only adjust the paths to match the metadata for the target, not native.
23obey_variables () { 23obey_variables () {
24 sed -i 's,ALTERNATIVES_ROOT,OPKG_OFFLINE_ROOT,' alternatives.c 24 sed -i 's,ALTERNATIVES_ROOT,OPKG_OFFLINE_ROOT,' ${S}/alternatives.c
25} 25}
26 26
27do_compile () { 27do_compile () {