mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-21 14:31:02 +02:00
sys-apps/systemd: "Fix" telinit in the SDK
When telinit is run and doesn't detect the host systemd, it falls back to executing a default fallback program that is detected by meson. In this case, it detects itself at /sbin/telinit, so it enters an infinite exec loop. Change the default fallback program to a non-existent path so that telinit just fails in the SDK.
This commit is contained in:
parent
965621db0f
commit
beeec7c375
@ -263,6 +263,9 @@ multilib_src_configure() {
|
||||
|
||||
### CoreOS options
|
||||
|
||||
# Point to a bad path, or telinit in the SDK re-execs itself
|
||||
-Dtelinit-path=/lib/sysvinit/telinit
|
||||
|
||||
# Specify this, or meson breaks due to no /etc/login.defs
|
||||
-Dsystem-gid-max=999
|
||||
-Dsystem-uid-max=999
|
||||
|
Loading…
x
Reference in New Issue
Block a user