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

* Re: [ptxdist] [PATCH] systemd: fix tool pathes
  2015-07-29 19:13 [ptxdist] [PATCH] systemd: fix tool pathes Lucas Stach
@ 2015-07-30  7:35 ` Uwe Kleine-König
  0 siblings, 0 replies; 2+ messages in thread
From: Uwe Kleine-König @ 2015-07-30  7:35 UTC (permalink / raw)
  To: ptxdist

Hello Lucas,

On Wed, Jul 29, 2015 at 09:13:27PM +0200, Lucas Stach wrote:
> systemd has added a lot more configurable tool pathes,
> which by default pick up pathes from the host system.
s/pathes/paths/ in Subject and commit log.

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

-- 
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