summaryrefslogtreecommitdiffstats
path: root/core/modules/bwlp-stage4-tweaks
diff options
context:
space:
mode:
authorSimon Rettberg2023-01-23 10:58:23 +0100
committerSimon Rettberg2023-01-23 10:58:23 +0100
commit704a06c5b3a5eb5bb2c7424ab80fc8dfe067fca1 (patch)
tree19151ada0e85e47210a57183a590aa6472605562 /core/modules/bwlp-stage4-tweaks
parent[inc/keyvalueutil] Fixup a bit (diff)
downloadmltk-704a06c5b3a5eb5bb2c7424ab80fc8dfe067fca1.tar.gz
mltk-704a06c5b3a5eb5bb2c7424ab80fc8dfe067fca1.tar.xz
mltk-704a06c5b3a5eb5bb2c7424ab80fc8dfe067fca1.zip
[stage4-tweaks/systemd-default-path] Force TZ to localtime, fix PATH
PATH dosn't need /bin and /sbin anymore now that it's symlinked to /usr
Diffstat (limited to 'core/modules/bwlp-stage4-tweaks')
-rw-r--r--core/modules/bwlp-stage4-tweaks/module.build7
1 files changed, 7 insertions, 0 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"
+}