2013-06-03 12:03:23 +04:00
+sysvinit : use /init /sysv ; @:
+systemd : use /init /systemd ; @:
use/init :
@$( call add_feature)
@$( call add,THE_LISTS,$$ ( INIT_TYPE) )
2015-06-29 17:19:57 +03:00
@$( call add,RESCUE_LISTS,$$ ( 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)
2015-06-29 17:19:57 +03:00
@$( call add,BASE_PACKAGES_REGEXP,^systemd-services-)
@$( call add,BASE_PACKAGES_REGEXP,^systemd-networkd-)
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)
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
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)