Skip to contentSkip to conversation

systemd: set the location of binaries used by service files

PATCH New Jonathan Liu 1 participant 1 message Mar 18, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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]

---
 meta/recipes-core/systemd/systemd_219.bb | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
meta/recipes-core/systemd/systemd_219.bb +5 -1
index ff29a3f..e8383c3 100644
@@ -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.
Signature · 1 line
2.3.1