From 704a06c5b3a5eb5bb2c7424ab80fc8dfe067fca1 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Mon, 23 Jan 2023 10:58:23 +0100 Subject: [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 --- core/modules/bwlp-stage4-tweaks/module.build | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'core/modules/bwlp-stage4-tweaks') 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" +} -- cgit v1.2.3-55-g7522