diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/modules/bwlp-stage4-tweaks/module.build | 7 | ||||
-rw-r--r-- | core/modules/systemd-default-path/data/etc/systemd/system.conf.d/10-openslx-path.conf | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/core/modules/bwlp-stage4-tweaks/module.build b/core/modules/bwlp-stage4-tweaks/module.build index e69de29b..dfa1bbac 100644 --- a/core/modules/bwlp-stage4-tweaks/module.build +++ b/core/modules/bwlp-stage4-tweaks/module.build @@ -0,0 +1,7 @@ +#!/bin/bash + +post_copy() { + # This speeds up glibc stuff a bit, see + # https://blog.packagecloud.io/set-environment-variable-save-thousands-of-system-calls/ + add_env TZ ":/etc/localtime" +} diff --git a/core/modules/systemd-default-path/data/etc/systemd/system.conf.d/10-openslx-path.conf b/core/modules/systemd-default-path/data/etc/systemd/system.conf.d/10-openslx-path.conf index 238b834c..6e67fdf1 100644 --- a/core/modules/systemd-default-path/data/etc/systemd/system.conf.d/10-openslx-path.conf +++ b/core/modules/systemd-default-path/data/etc/systemd/system.conf.d/10-openslx-path.conf @@ -1,2 +1,2 @@ [Manager] -DefaultEnvironment="PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/openslx/sbin:/opt/openslx/bin" +DefaultEnvironment="PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/opt/openslx/sbin:/opt/openslx/bin" "TZ=:/etc/localtime" |