On 4/23/20 5:14 AM, Robert P. J. Day wrote:
On Thu, 23 Apr 2020, Nicolas Dechesne wrote:
i know, that's what i mentioned above.
On Thu, Apr 23, 2020 at 1:18 PM Robert P. J. Day <email@example.com> wrote:
just noticed that, given that since YP 3.0 one could select systemd
as the init manager via the single variable INIT_MANAGER, which pulled
# Use systemd for system initialization
DISTRO_FEATURES_append = " systemd"
DISTRO_FEATURES_BACKFILL_CONSIDERED_append = " sysvinit"
VIRTUAL-RUNTIME_init_manager ??= "systemd"
VIRTUAL-RUNTIME_initscripts ??= "systemd-compat-units"
VIRTUAL-RUNTIME_login_manager ??= "shadow-base"
INIT_MANAGER was added in 3.0, see:
this doesn't quite seem to match this snippet from i suspected as much, i just wanted to point out that those two
# Switch to systemd
DISTRO_FEATURES += "systemd"
VIRTUAL-RUNTIME_init_manager = "systemd"
VIRTUAL-RUNTIME_initscripts = ""
VIRTUAL-RUNTIME_syslog = ""
VIRTUAL-RUNTIME_login_manager = "shadow-base"
DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit"
this is the 'old' (pre 3.0) method, and it can (and should) be
replaced with INIT_MANAGER, i believe.
snippets are not *exactly* equivalent so someone should make sure that
INIT_MANAGER usage is precisely defined.
perhaps imagefeatures.py should be updated to sync with INIT_MANAGER