commit: e574dbd24c74cedd7f59263859a6551b914410a4 Author: Ben Kohler <bkohler <AT> gentoo <DOT> org> AuthorDate: Thu Oct 10 01:06:11 2024 +0000 Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org> CommitDate: Thu Oct 10 01:06:11 2024 +0000 URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=e574dbd2
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 <AT> gentoo.org> targets/stage1/preclean-chroot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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
