summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/systemd
diff options
context:
space:
mode:
authorJonathan Liu <net147@gmail.com>2015-03-18 13:37:21 +1100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-03-20 23:56:03 +0000
commit8e19349b696d4a3e8576ba64e935cf3a43bc7940 (patch)
treef945700aac84be32a19c1143fdcfcaef241a3e33 /meta/recipes-core/systemd
parent0f25dd5b6c4dd15965ec6d40bff28af4c3878464 (diff)
downloadpoky-8e19349b696d4a3e8576ba64e935cf3a43bc7940.tar.gz
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] (From OE-Core rev: 294adc0907a359d9c0ad260823188145aab294ad) Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/systemd')
-rw-r--r--meta/recipes-core/systemd/systemd_219.bb6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/recipes-core/systemd/systemd_219.bb b/meta/recipes-core/systemd/systemd_219.bb
index 117a529492..31caa30345 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"
88PACKAGECONFIG[iptc] = "--enable-libiptc,--disable-libiptc,iptables" 88PACKAGECONFIG[iptc] = "--enable-libiptc,--disable-libiptc,iptables"
89PACKAGECONFIG[ldconfig] = "--enable-ldconfig,--disable-ldconfig,," 89PACKAGECONFIG[ldconfig] = "--enable-ldconfig,--disable-ldconfig,,"
90 90
91CACHED_CONFIGUREVARS = "ac_cv_path_KILL=${base_bindir}/kill" 91CACHED_CONFIGUREVARS += "ac_cv_path_KILL=${base_bindir}/kill"
92CACHED_CONFIGUREVARS += "ac_cv_path_KMOD=${base_bindir}/kmod"
93CACHED_CONFIGUREVARS += "ac_cv_path_QUOTACHECK=${sbindir}/quotacheck"
94CACHED_CONFIGUREVARS += "ac_cv_path_QUOTAON=${sbindir}/quotaon"
95CACHED_CONFIGUREVARS += "ac_cv_path_SULOGIN=${base_sbindir}/sulogin"
92 96
93# Helper variables to clarify locations. This mirrors the logic in systemd's 97# Helper variables to clarify locations. This mirrors the logic in systemd's
94# build system. 98# build system.