[Buildroot] [git commit branch/2020.02.x] systemd: clear telinit path
Peter Korsgaard
peter at korsgaard.com
Sun Nov 8 17:50:09 UTC 2020
commit: https://git.buildroot.net/buildroot/commit/?id=51a2114b600f53da61cb1969f403aa9675cb3eb5
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2020.02.x
Since we don't enable sysv any support, it makes no sense to set the
path to telinit either.
The path we were setting was anyway wrong: we set a path into
TARGET_DIR, but this path is only used at runtime, on the target, where
TARGET_DIR doesn't exist (it should have been /usr/sbin/telinit).
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
(cherry picked from commit 8bc9350963dddb80a0bf4cfd9ad32807223eae67)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
package/systemd/systemd.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk
index 48c151fb34..4d988b0c4f 100644
--- a/package/systemd/systemd.mk
+++ b/package/systemd/systemd.mk
@@ -33,7 +33,7 @@ SYSTEMD_CONF_OPTS += \
-Dsplit-usr=false \
-Dsystem-uid-max=999 \
-Dsystem-gid-max=999 \
- -Dtelinit-path=$(TARGET_DIR)/sbin/telinit \
+ -Dtelinit-path= \
-Dquotaon-path=/usr/sbin/quotaon \
-Dquotacheck-path=/usr/sbin/quotacheck \
-Dkmod-path=/usr/bin/kmod \
More information about the buildroot
mailing list