Chroot: Manage timezone
This commit is contained in:
parent
b057d1e3de
commit
b8fff539b9
|
@ -230,6 +230,13 @@ sed -i 's/^# \(en_US.UTF-8 UTF-8\)/\1/' /target/etc/locale.gen
|
|||
#sed -i 's/^# \(fr_FR.UTF-8 UTF-8\)/\1/' /target/etc/locale.gen
|
||||
chroot /target locale-gen
|
||||
|
||||
## }}}
|
||||
## Timezone {{{
|
||||
### Set timezone
|
||||
printf '%b\n' "Europe/Paris" > /target/etc/timezone
|
||||
ln -fs /usr/share/zoneinfo/Europe/Paris /target/etc/localtime
|
||||
chroot /target dpkg-reconfigure --frontend noninteractive tzdata
|
||||
|
||||
## }}}
|
||||
# }}}
|
||||
# Finish {{{
|
||||
|
|
Loading…
Reference in New Issue