[X2Go-Commits] [live-build-x2go] 23/59: this is a workaround for https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=963146 - the file config/includes.chroot/lib/live/config/0049-sysvinit-with-systemd-workaround may safely be removed once this bug has been dealt with.
git-admin at x2go.org
git-admin at x2go.org
Mon Nov 28 19:34:51 CET 2022
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch feature/openbox-magic-pixel-workaround-buster
in repository live-build-x2go.
commit 97dd69156a7f221a879ac5f8762c0cc6c3cbcce9
Author: Stefan Baur (BAUR-ITCS) <kontakt at baur-itcs.de>
Date: Fri Jun 19 16:52:57 2020 +0000
this is a workaround for https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=963146 - the file config/includes.chroot/lib/live/config/0049-sysvinit-with-systemd-workaround may safely be removed once this bug has been dealt with.
---
.../lib/live/config/0049-sysvinit-with-systemd-workaround | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/config/includes.chroot/lib/live/config/0049-sysvinit-with-systemd-workaround b/config/includes.chroot/lib/live/config/0049-sysvinit-with-systemd-workaround
new file mode 100755
index 0000000..5b9a8fd
--- /dev/null
+++ b/config/includes.chroot/lib/live/config/0049-sysvinit-with-systemd-workaround
@@ -0,0 +1,7 @@
+#/bin/bash
+# this file is a workaround for https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=963146
+# it may safely be removed once this bug has been dealt with.
+SYSTEMCTL_PATH=$(which systemctl)
+if ! [-d /run/systemd/system ] && [ -n "$SYSTEMCTL_PATH" ]; then
+ chmod -x $SYSTEMCTL_PATH
+fi
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git
More information about the x2go-commits
mailing list