Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (bcb088bb18a7f8eb5d5d17735446d59c7e2c8355)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Pavel Vinogradov <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (bcb088bb18a7f8eb5d5d17735446d59c7e2c8355)
  • Date: Sun, 26 Feb 2023 03:05:27 +0000

GIT changes to master grimoire by Pavel Vinogradov <public AT sourcemage.org>:

smgl/elogind/BUILD | 8 +++++++-
smgl/elogind/DEPENDS | 2 +-
smgl/elogind/HISTORY | 3 +++
3 files changed, 11 insertions(+), 2 deletions(-)

New commits:
commit bcb088bb18a7f8eb5d5d17735446d59c7e2c8355
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Pavel Vinogradov <public AT sourcemage.org>

smgl/elogind: depends on INIT, let it choose cgroup-controller accordingly

diff --git a/smgl/elogind/BUILD b/smgl/elogind/BUILD
index 2b0d481..1355202 100755
--- a/smgl/elogind/BUILD
+++ b/smgl/elogind/BUILD
@@ -2,7 +2,13 @@ OPTS+=' smack=false tests=unsafe split-usr=true' &&
OPTS+=' split-bin=true' &&
OPTS+=' rootlibdir=/lib' &&
OPTS+=' default-hierarchy=hybrid' &&
-OPTS+=' cgroup-controller=none' &&
OPTS+=' nobody-group=nogroup' &&
+
+case $(get_spell_provider ${SPELL} INIT) in
+ openrc) OPTS+=' cgroup-controller=openrc' ;;
+ simpleinit-msb) OPTS+=' cgroup-controller=telinit' ;;
+ systemd) OPTS+=' cgroup-controller=systemd' ;;
+ *) OPTS+=' cgroup-controller=none' ;;
+esac &&
default_build

diff --git a/smgl/elogind/DEPENDS b/smgl/elogind/DEPENDS
index 62bbec2..d92d45f 100755
--- a/smgl/elogind/DEPENDS
+++ b/smgl/elogind/DEPENDS
@@ -6,7 +6,7 @@ depends gperf &&
depends libcap &&
depends perl &&
#depends util-linux &&
-depends simpleinit-msb 'cgroup-controller=telinit' &&
+depends INIT &&

optional_depends libxslt 'man=true' 'man=false' 'build man pages' &&
optional_depends lxml '' '' 'index man pages' &&
diff --git a/smgl/elogind/HISTORY b/smgl/elogind/HISTORY
index 599a602..780b019 100644
--- a/smgl/elogind/HISTORY
+++ b/smgl/elogind/HISTORY
@@ -1,3 +1,6 @@
+2023-02-25 Pavel Vinogradov <public AT sourcemage.org>
+ * BUILD, DEPENDS: depends on INIT, let it choose cgroup-controller
accordingly
+
2022-05-28 Florian Franzmann <bwlf AT bandrate.org>
* DEPENDS: use MESON_DEPENDS




  • [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (bcb088bb18a7f8eb5d5d17735446d59c7e2c8355), Pavel Vinogradov, 02/25/2023

Archive powered by MHonArc 2.6.24.

Top of Page