Skip to content
Snippets Groups Projects
Commit 9564fb5e authored by João Gustavo Pauluk's avatar João Gustavo Pauluk
Browse files

40-configure_le5: Fix live timezone(Refs #1024)


In Ubuntu precise, /etc/localtime is a copy of the original data file, not a symbolic link. Besides, /etc/timezone were also updated.

Signed-off-by: default avatarJoão Gustavo Pauluk <jgp12@c3sl.ufpr.br>
parent 8efa7278
No related branches found
No related tags found
No related merge requests found
......@@ -90,7 +90,9 @@ INFO_ISO="$INFO_ISO:"$(date +"%d-%m-%y")
echo "$INFO_ISO" > "$CHROOTDIR"/etc/le/data_iso.txt
#Change live time zone
ln -fs "$CHROOTDIR"/usr/share/zoneinfo/Brazil/East "$CHROOTDIR"/etc/localtime
echo "America/Sao_Paulo" > "$CHROOTDIR"/etc/timezone
cp -f "$CHROOTDIR"/usr/share/zoneinfo/America/Sao_Paulo "$CHROOTDIR"/etc/localtime
# Reconfigure le-greeter now that /etc/le/data_iso.txt is in place
chroot $CHROOTDIR dpkg-reconfigure le-greeter
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment