Patchwork [10/12] systemd: set the location of the kill binary

login
register
mail settings
Submitter Ross Burton
Date March 11, 2013, 6:24 p.m.
Message ID <8aba674c794e26182cdd0a949632e2ffd739da24.1363025917.git.ross.burton@intel.com>
Download mbox | patch
Permalink /patch/45965/
State Accepted
Commit 084eb0e530426fe57fb4d04680ea1da421e1e4fb
Headers show

Comments

Ross Burton - March 11, 2013, 6:24 p.m.
Otherwise systemd uses AC_PROG_PATH and finds it in the sysroot, which won't
work on the target.

Signed-off-by: Ross Burton <ross.burton@intel.com>
---
 meta/recipes-core/systemd/systemd_197.bb |    1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/meta/recipes-core/systemd/systemd_197.bb b/meta/recipes-core/systemd/systemd_197.bb
index 5473666..e2bf415 100644
--- a/meta/recipes-core/systemd/systemd_197.bb
+++ b/meta/recipes-core/systemd/systemd_197.bb
@@ -64,6 +64,7 @@  EXTRA_OECONF = " --with-rootprefix=${base_prefix} \
                  --disable-microhttpd \
                  --without-python \
                  --with-sysvrcnd-path=${sysconfdir} \
+                 ac_cv_path_KILL=${base_bindir}/kill \
                "
 # uclibc does not have NSS
 EXTRA_OECONF_append_libc-uclibc = " --disable-myhostname "