/usr/lib/ubiquity/tzsetup/post-base-installer-oem is in oem-config 2.18.7.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | #!/bin/sh
set -e
. /usr/share/debconf/confmodule
db_get time/zone
zone="$RET"
if [ -z "$zone" ] || [ ! -e /usr/share/zoneinfo/$zone ]; then
logger -t tzsetup "Warning: ignoring invalid time zone '$zone'"
exit 0
fi
echo "$zone" > /etc/timezone
rm -f /etc/localtime
cp -f /usr/share/zoneinfo/$zone /etc/localtime
|