make_chroot: move timezone setup to cros_sdk
Now that cros_sdk sets this up for us, delete it here.
BUG=b:191307774
TEST=`cros_sdk` still works
Change-Id: I043c7a5d86e3f36c72ec720700fd71aada2f5156
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosutils/+/2985360
Reviewed-by: Alex Klein <saklein@chromium.org>
Tested-by: Mike Frysinger <vapier@chromium.org>
Commit-Queue: Mike Frysinger <vapier@chromium.org>
diff --git a/sdk_lib/make_chroot.sh b/sdk_lib/make_chroot.sh
index 015af3e..d63974a 100755
--- a/sdk_lib/make_chroot.sh
+++ b/sdk_lib/make_chroot.sh
@@ -122,14 +122,6 @@
}
init_users () {
- info "Set timezone..."
- # date +%Z has trouble with daylight time, so use host's info.
- rm -f "${FLAGS_chroot}/etc/localtime"
- if [ -f /etc/localtime ] ; then
- cp /etc/localtime "${FLAGS_chroot}/etc"
- else
- ln -sf /usr/share/zoneinfo/PST8PDT "${FLAGS_chroot}/etc/localtime"
- fi
info "Adding user/group..."
# Add the necessary groups to the chroot.
# Duplicate GIDs are allowed here in order to ensure that the required