forked from lix-project/lix-installer
Fix --init none being ignored on systems without systemd #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "tfausak-2026-03-19-init-none"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
plan_systemd_init_step() hardcoded InitSystem::Systemd, ignoring the user's --init flag. This caused installs with --init none to fail with "Could not detect systemd" on non-systemd systems.
Rename to plan_init_step() and pass the InitSystem through so that ConfigureInitService::plan() receives the actual setting. When InitSystem::None, empty service/socket lists are used and the action becomes a no-op as intended.
This would fix https://git.lix.systems/lix-project/lix-installer/issues/70. I believe the problem was introduced by https://git.lix.systems/lix-project/lix-installer/commit/3b84a8c4b521bcc490cf8f804071c1d9af8d2a3c.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.