summaryrefslogtreecommitdiffstats
path: root/remote/modules
diff options
context:
space:
mode:
Diffstat (limited to 'remote/modules')
-rw-r--r--remote/modules/systemd/module.build4
1 files changed, 4 insertions, 0 deletions
diff --git a/remote/modules/systemd/module.build b/remote/modules/systemd/module.build
index 79dec526..2b89d032 100644
--- a/remote/modules/systemd/module.build
+++ b/remote/modules/systemd/module.build
@@ -17,12 +17,16 @@ fetch_source () {
perror "'src/$REQUIRED_VERSION/src/core/socket.c' does not exist."
fi
fi
+ # now check if the old fix needs to be applied
+ # NOTE: only for systemd-204
if [ "x${REQUIRED_VERSION#systemd-}" = "x204" ]; then
# Patch PATH, HOME, USER environment
# TODO: Newer systemd versions support DefaultEnvironment=xxx in /etc/systemd/system.conf
# However, there were lots of changes after systemd 204, so we didn't update yet
# See http://cgit.freedesktop.org/systemd/systemd/tree/NEWS for changes.
patch -p0 src/systemd-*/src/core/main.c < systemd-openslx.patch || perror "Failed to apply openslx systemd patch."
+ else
+ # TODO use the above hint for setting environmenet through /etc/systemd/system.conf
fi
# libkmod