mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] systemd: fix tool pathes
@ 2015-07-29 19:13 Lucas Stach
  2015-07-30  7:35 ` Uwe Kleine-König
  0 siblings, 1 reply; 2+ messages in thread
From: Lucas Stach @ 2015-07-29 19:13 UTC (permalink / raw)
  To: ptxdist

systemd has added a lot more configurable tool pathes,
which by default pick up pathes from the host system.

This leads to severely broken target systems if not even
mount and sulogin can be found. Fix this by providing a
sane cached value.

Signed-off-by: Lucas Stach <dev@lynxeye.de>
---
 rules/systemd.make | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/rules/systemd.make b/rules/systemd.make
index e353427..73cac84 100644
--- a/rules/systemd.make
+++ b/rules/systemd.make
@@ -41,7 +41,15 @@ endif
 SYSTEMD_CONF_ENV	:= \
 	$(CROSS_ENV) \
 	ac_cv_path_INTLTOOL_MERGE=: \
-	ac_cv_path_KMOD=/bin/kmod
+	ac_cv_path_KEXEC=/sbin/kexec \
+	ac_cv_path_KILL=/bin/kill \
+	ac_cv_path_KMOD=/bin/kmod \
+	ac_cv_path_MOUNT_PATH=/bin/mount \
+	ac_cv_path_SETCAP=/sbin/setcap \
+	ac_cv_path_SULOGIN=/sbin/sulogin \
+	ac_cv_path_UMOUNT_PATH=/bin/umount \
+	ac_cv_path_QUOTACHECK=/usr/sbin/quotacheck \
+	ac_cv_path_QUOTAON=/usr/sbin/quotaon
 
 SYSTEMD_CONF_ENV += cc_cv_CFLAGS__flto=no
 
-- 
2.1.0


-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-07-30  5:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-29 19:13 [ptxdist] [PATCH] systemd: fix tool pathes Lucas Stach
2015-07-30  7:35 ` Uwe Kleine-König

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox