Commit 41ae5b85 authored by Natanael Copa's avatar Natanael Copa

setup-timezone: move /etc/zoneinfo/localtime to /etc/localtime

This is what upstream musl does.
parent c1a51c03
...@@ -53,8 +53,8 @@ setup_tz() { ...@@ -53,8 +53,8 @@ setup_tz() {
cp "$zonepath" "${ROOT}"etc/zoneinfo/$zdir/ cp "$zonepath" "${ROOT}"etc/zoneinfo/$zdir/
zonepath=/etc/zoneinfo/$zone zonepath=/etc/zoneinfo/$zone
fi fi
rm -f "${ROOT}"etc/zoneinfo/localtime rm -f "${ROOT}"etc/localtime
ln -s "$zonepath" "${ROOT}"etc/zoneinfo/localtime ln -s "$zonepath" "${ROOT}"etc/localtime
} }
INSTALL_TZDATA=false INSTALL_TZDATA=false
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment