[Buildroot] [git commit branch/2020.08.x] systemd: clear telinit path
Peter Korsgaard
peter at korsgaard.com
Sun Nov 8 17:47:16 UTC 2020
commit: https://git.buildroot.net/buildroot/commit/?id=b0cbc33291f6166e02c7a9c5b569e66b93ec1b58
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2020.08.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 d108f0d53d..5d25f8f14c 100644
--- a/package/systemd/systemd.mk
+++ b/package/systemd/systemd.mk
@@ -34,7 +34,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