config.mk 1.05 KB
Newer Older
Michael Shigorin's avatar
Michael Shigorin committed
1
+sysvinit: use/init/sysv; @:
2
+systemd: use/init/systemd/full; @:
Michael Shigorin's avatar
Michael Shigorin committed
3 4 5 6 7

use/init:
	@$(call add_feature)
	@$(call add,THE_LISTS,$$(INIT_TYPE))

8 9
# THE_LISTS is too late when BASE_PACKAGES have pulled in
# the wrong syslogd-daemon provider already
Michael Shigorin's avatar
Michael Shigorin committed
10 11
use/init/sysv: use/init
	@$(call set,INIT_TYPE,sysvinit)
12
	@$(call add,BASE_PACKAGES,syslogd)
Michael Shigorin's avatar
Michael Shigorin committed
13

14 15 16
use/init/sysv/polkit: use/init/sysv
	@$(call add,THE_PACKAGES,polkit-sysvinit)

Michael Shigorin's avatar
Michael Shigorin committed
17 18 19
### i-f should be dropped as soon as rootfs scripts are effective there
use/init/systemd: use/init
	@$(call set,INIT_TYPE,systemd)
20
	@$(call add,INSTALL2_PACKAGES,installer-feature-journald-tty)
21

22 23 24
use/init/systemd/full: use/init/systemd
	@$(call add,THE_PACKAGES,bash-completion-systemd)

25
# http://www.freedesktop.org/wiki/Software/systemd/Debugging
26
use/init/systemd/debug: use/init/systemd use/services
27
	@$(call add,THE_PACKAGES,systemd-shutdown-debug-script)
28
	@$(call add,SERVICES_ENABLE,debug-shell)
29 30 31
	@$(call add,STAGE2_BOOTARGS,systemd.log_level=debug)
	@$(call add,STAGE2_BOOTARGS,systemd.log_target=kmsg)
	@$(call add,STAGE2_BOOTARGS,log_buf_len=1M enforcing=0)