From 737a60de83194f3ebc63149ccf54c712d22379ea Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Sat, 31 Mar 2018 15:02:11 +0200 Subject: Adapt to new behaviour of glibc-zoneinfo and the timeconfig script --- liveinit.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'liveinit.tpl') 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 < /mnt/overlay/etc/hardwareclock -- cgit v1.2.3