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 ; @:
2019-08-12 15:28:28 +03:00
+systemd-optimal : use /init /systemd /settings /optimal ; @:
2019-04-08 13:41:49 +03:00
+elogind : use /init /sysv /elogind ; @:
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)
2018-08-29 17:52:34 +03:00
@$( call add,BASE_PACKAGES,rsyslog-classic)
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)
2019-04-08 13:41:49 +03:00
use/init/sysv/elogind : use /init /sysv
@$( call add,THE_PACKAGES,elogind bash-completion-elogind)
@$( call add,DEFAULT_SERVICES_ENABLE,elogind)
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
2019-10-16 05:07:47 +03:00
@$( call add,THE_PACKAGES,chkconfig)
2019-01-30 11:11:35 +03:00
i f e q ( , $( filter -out i 586 x 86_ 64,$ ( ARCH ) ) )
@$( call add,THE_PACKAGES,vconsole-setup-kludge)
e n d i f
2016-08-04 17:05:37 +03:00
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)
2016-03-05 21:27:29 +03:00
# set multi-user target by default
use/init/systemd/multiuser : use /init /systemd
@$( call add,STAGE2_BOOTARGS,systemd.unit= multi-user.target)
2019-08-12 15:28:28 +03:00
u s e / i n i t / s y s t e m d / s e t t i n g s / d i s a b l e - d u m p c o r e \
use/init/systemd/settings/disable-user-systemd-for-selinux \
use/init/systemd/settings/enable-log-to-tty12 \
use/init/systemd/settings/enable-showstatus: \
use/init/systemd/settings/%: use/init/systemd
@$( call add,THE_PACKAGES,systemd-settings-$* )
use/init/systemd/settings/optimal : use /init /systemd /full \
use/init/systemd/settings/disable-dumpcore \
use/init/systemd/settings/enable-log-to-tty12 \
use/init/systemd/settings/enable-showstatus; @: