Commit 30d38381 authored by Michael Shigorin's avatar Michael Shigorin

init: rework de-systemd-ization

It's the very same problem that must be solved within mkimage: some package lists get expanded early and some late thus having no chance to influence apt's choices of alternatives made early (in fact, too early). Until that, here's another kludge... PS: turns out that ^systemd- is not "drop ^systemd" but rather: systemd-analyze systemd-coredump systemd-journal-gateway systemd-networkd systemd-sysvinit -- thus one /really/ wants something else.
parent 93c3fbf7
......@@ -4,13 +4,15 @@
use/init:
@$(call add_feature)
@$(call add,THE_LISTS,$$(INIT_TYPE))
@$(call add,RESCUE_LISTS,$$(INIT_TYPE))
# THE_LISTS is too late when BASE_PACKAGES have pulled in
# the wrong syslogd-daemon provider already
use/init/sysv: use/init
@$(call set,INIT_TYPE,sysvinit)
@$(call add,BASE_PACKAGES,syslogd)
@$(call add,BASE_PACKAGES_REGEXP,^systemd- ^systemd-services-)
@$(call add,BASE_PACKAGES_REGEXP,^systemd-services-)
@$(call add,BASE_PACKAGES_REGEXP,^systemd-networkd-)
use/init/sysv/polkit: use/init/sysv
@$(call add,THE_PACKAGES,polkit-sysvinit)
......
sysvinit
sysklogd
interactivesystem
systemd-
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment