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:
David Michael 2017-11-06 15:31:13 -05:00
parent 965621db0f
commit beeec7c375
2 changed files with 3 additions and 0 deletions

View File

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