diff options
author | Eric Hameleers <alien@slackware.com> | 2018-03-31 15:02:11 +0200 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2018-03-31 15:02:11 +0200 |
commit | 737a60de83194f3ebc63149ccf54c712d22379ea (patch) | |
tree | 63132fcc0edd32f73113a2610b3fca374ad0c5a4 /liveinit.tpl | |
parent | 88a5bf94c6c23bd80d8952cf64e4224f8d398f1e (diff) | |
download | liveslak-737a60de83194f3ebc63149ccf54c712d22379ea.tar.gz liveslak-737a60de83194f3ebc63149ccf54c712d22379ea.tar.xz |
Adapt to new behaviour of glibc-zoneinfo and the timeconfig script
Diffstat (limited to 'liveinit.tpl')
-rwxr-xr-x | liveinit.tpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/liveinit.tpl b/liveinit.tpl index 48f4525..5cddd02 100755 --- a/liveinit.tpl +++ b/liveinit.tpl @@ -947,7 +947,7 @@ EOT # Configure custom timezone: echo "${MARKER}: Configuring timezone '$TZ'" cp /mnt/overlay/usr/share/zoneinfo/${TZ} /mnt/overlay/etc/localtime - rm /mnt/overlay/etc/localtime-copied-from + rm -f /mnt/overlay/etc/localtime-copied-from ln -s /usr/share/zoneinfo/${TZ} /mnt/overlay/etc/localtime-copied-from # Configure the hardware clock to be interpreted as localtime and not UTC: cat <<EOT > /mnt/overlay/etc/hardwareclock |