From: Lucas Stach <dev@lynxeye.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH] systemd: fix tool pathes
Date: Wed, 29 Jul 2015 21:13:27 +0200 [thread overview]
Message-ID: <1438197207-24395-1-git-send-email-dev@lynxeye.de> (raw)
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
next reply other threads:[~2015-07-29 17:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-29 19:13 Lucas Stach [this message]
2015-07-30 7:35 ` Uwe Kleine-König
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1438197207-24395-1-git-send-email-dev@lynxeye.de \
--to=dev@lynxeye.de \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox