2013-06-03 12:03:23 +04:00
+sysvinit : use /init /sysv ; @:
2016-08-04 17:05:37 +03:00
+systemd : use /init /systemd /full ; @:
2013-06-03 12:03:23 +04:00
2018-06-11 15:24:10 +03:00
# NB: the list name MUST be identical to init package name
use/init : use /pkgpriorities
2013-06-03 12:03:23 +04:00
@$( call add_feature)
@$( call add,THE_LISTS,$$ ( INIT_TYPE) )
2018-06-11 15:24:10 +03:00
@$( call add,PINNED_PACKAGES,$$ ( INIT_TYPE) )
2013-06-03 12:03:23 +04:00
2013-09-09 20:57:25 +04:00
# THE_LISTS is too late when BASE_PACKAGES have pulled in
# the wrong syslogd-daemon provider already
2013-06-03 12:03:23 +04:00
use/init/sysv : use /init
@$( call set,INIT_TYPE,sysvinit)
2013-09-09 20:57:25 +04:00
@$( call add,BASE_PACKAGES,syslogd)
2013-06-03 12:03:23 +04:00
2015-06-16 14:47:46 +03:00
use/init/sysv/polkit : use /init /sysv
@$( call add,THE_PACKAGES,polkit-sysvinit)
2018-02-18 14:13:19 +03:00
use/init/sysv/consolekit : use /init /sysv
@$( call add,THE_PACKAGES,ConsoleKit ConsoleKit-x11 pam-ck-connector)
2013-06-03 12:03:23 +04:00
### i-f should be dropped as soon as rootfs scripts are effective there
use/init/systemd : use /init
@$( call set,INIT_TYPE,systemd)
2015-02-26 17:30:25 +03:00
@$( call add,INSTALL2_PACKAGES,installer-feature-journald-tty)
2015-02-24 22:26:18 +03:00
2016-08-04 17:05:37 +03:00
use/init/systemd/full : use /init /systemd
@$( call add,THE_PACKAGES,bash-completion-systemd)
2015-10-20 14:15:20 +03:00
# http://www.freedesktop.org/wiki/Software/systemd/Debugging
2015-02-24 22:26:18 +03:00
use/init/systemd/debug : use /init /systemd use /services
2015-10-20 14:15:20 +03:00
@$( call add,THE_PACKAGES,systemd-shutdown-debug-script)
2015-02-24 22:26:18 +03:00
@$( call add,SERVICES_ENABLE,debug-shell)
2015-10-20 14:15:20 +03:00
@$( 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)