diff options
author | Ben Kohler <bkohler@gentoo.org> | 2024-10-09 20:06:11 -0500 |
---|---|---|
committer | Ben Kohler <bkohler@gentoo.org> | 2024-10-09 20:06:11 -0500 |
commit | e574dbd24c74cedd7f59263859a6551b914410a4 (patch) | |
tree | d3199168360fa7005a29e586a8bd95b42e866510 | |
parent | Add Dist-kernel kconfig support (diff) | |
download | catalyst-e574dbd24c74cedd7f59263859a6551b914410a4.tar.gz catalyst-e574dbd24c74cedd7f59263859a6551b914410a4.tar.bz2 catalyst-e574dbd24c74cedd7f59263859a6551b914410a4.zip |
targets/stage1/preclean-chroot.sh: use symlink for /etc/localtime
This should be a symlink on modern systems.
Bug: https://bugs.gentoo.org/938309
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
-rwxr-xr-x | targets/stage1/preclean-chroot.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/targets/stage1/preclean-chroot.sh b/targets/stage1/preclean-chroot.sh index 2dc761e9..193a12f9 100755 --- a/targets/stage1/preclean-chroot.sh +++ b/targets/stage1/preclean-chroot.sh @@ -15,7 +15,7 @@ setup_binutils if [ -d "${ROOT}/usr/share/zoneinfo" ] then rm -f "${ROOT}/etc/localtime" - cp "${ROOT}/usr/share/zoneinfo/Factory" "${ROOT}/etc/localtime" + ln -s ../usr/share/zoneinfo/Factory "${ROOT}/etc/localtime" else echo UTC > "${ROOT}/etc/TZ" fi |