tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: On linux, potentially setting INIT_SYSTEM=systemd?



nia <nia%NetBSD.org@localhost> writes:

> I'd suggest making this an OPSYS_HAS variable (defined in
> mk/platform/Linux.mk) instead, if it's to affect a PLIST rather than
> express a user preference.

Good point.

However, I still don't think we can define OPSYS_HAS based on looking at
files, because that's not going to be stable.   It's not a property of
Linux to have systemd, but rather that some Linux systems have it.

So perhaps set at bootstrap time, perhaps defaulting to guessing based
on presence, but settable, and the choice of init system ending up in
mk.conf.



Home | Main Index | Thread Index | Old Index