summaryrefslogtreecommitdiffstats
path: root/remote/modules/systemd
diff options
context:
space:
mode:
authorJonathan Bauer2014-04-15 14:03:01 +0200
committerJonathan Bauer2014-04-15 14:03:01 +0200
commita968337ced79fd741eaef3b9a10788f953686e3d (patch)
tree59d41dca1e7fc199749816008c145adf99f7ab8b /remote/modules/systemd
parentminor - indent fix (diff)
downloadtm-scripts-a968337ced79fd741eaef3b9a10788f953686e3d.tar.gz
tm-scripts-a968337ced79fd741eaef3b9a10788f953686e3d.tar.xz
tm-scripts-a968337ced79fd741eaef3b9a10788f953686e3d.zip
[systemd] added TODO for environment in systemd212
Diffstat (limited to 'remote/modules/systemd')
-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