From 6c01aa52ace41cd5a4881cb647d7ba7e9daedf83 Mon Sep 17 00:00:00 2001 From: Anton Midyukov Date: Mon, 12 Aug 2019 19:28:28 +0700 Subject: [PATCH] init: add use/init/systemd/settings/* Not all systemd-based images need these settings, so don't change +systemd alias. See-also: https://lists.altlinux.org/pipermail/devel-distro/2019-July/001710.html --- features.in/init/config.mk | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/features.in/init/config.mk b/features.in/init/config.mk index 5bacb15e..f0ff9aa6 100644 --- a/features.in/init/config.mk +++ b/features.in/init/config.mk @@ -1,5 +1,6 @@ +sysvinit: use/init/sysv; @: +systemd: use/init/systemd/full; @: ++systemd-optimal: use/init/systemd/settings/optimal; @: +elogind: use/init/sysv/elogind; @: # NB: the list name MUST be identical to init package name @@ -43,3 +44,15 @@ use/init/systemd/debug: use/init/systemd use/services # set multi-user target by default use/init/systemd/multiuser: use/init/systemd @$(call add,STAGE2_BOOTARGS,systemd.unit=multi-user.target) + +use/init/systemd/settings/disable-dumpcore \ + 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; @: