[oe-commits] Jonathan Liu : systemd: set the location of binaries used by service files

git at git.openembedded.org git at git.openembedded.org
Fri Mar 20 10:59:21 UTC 2015


Module: openembedded-core.git
Branch: master-next
Commit: 6f4015a2e09e7c1ec856827b249cc36137cddbb5
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=6f4015a2e09e7c1ec856827b249cc36137cddbb5

Author: Jonathan Liu <net147 at gmail.com>
Date:   Wed Mar 18 13:37:21 2015 +1100

systemd: set the location of binaries used by service files

Otherwise systemd uses AC_PROG_PATH and finds it in the sysroot or host
system, which won't work on the target.

[YOCTO #7408]

Signed-off-by: Jonathan Liu <net147 at gmail.com>
Signed-off-by: Ross Burton <ross.burton at intel.com>

---

 meta/recipes-core/systemd/systemd_219.bb | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-core/systemd/systemd_219.bb b/meta/recipes-core/systemd/systemd_219.bb
index 117a529..31caa30 100644
--- a/meta/recipes-core/systemd/systemd_219.bb
+++ b/meta/recipes-core/systemd/systemd_219.bb
@@ -88,7 +88,11 @@ PACKAGECONFIG[xkbcommon] = "--enable-xkbcommon,--disable-xkbcommon,libxkbcommon"
 PACKAGECONFIG[iptc] = "--enable-libiptc,--disable-libiptc,iptables"
 PACKAGECONFIG[ldconfig] = "--enable-ldconfig,--disable-ldconfig,,"
 
-CACHED_CONFIGUREVARS = "ac_cv_path_KILL=${base_bindir}/kill"
+CACHED_CONFIGUREVARS += "ac_cv_path_KILL=${base_bindir}/kill"
+CACHED_CONFIGUREVARS += "ac_cv_path_KMOD=${base_bindir}/kmod"
+CACHED_CONFIGUREVARS += "ac_cv_path_QUOTACHECK=${sbindir}/quotacheck"
+CACHED_CONFIGUREVARS += "ac_cv_path_QUOTAON=${sbindir}/quotaon"
+CACHED_CONFIGUREVARS += "ac_cv_path_SULOGIN=${base_sbindir}/sulogin"
 
 # Helper variables to clarify locations.  This mirrors the logic in systemd's
 # build system.



More information about the Openembedded-commits mailing list