From f939bf041fadf63a197144483230ccc94811a8f9 Mon Sep 17 00:00:00 2001 From: Markham Date: Sun, 6 Nov 2022 16:33:29 +0100 Subject: [PATCH] one more timezone fix --- make/libraries.mk | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/make/libraries.mk b/make/libraries.mk index 77c05f2..c2790fc 100755 --- a/make/libraries.mk +++ b/make/libraries.mk @@ -1346,6 +1346,11 @@ $(D)/lzo: $(ARCHIVE)/lzo-$(LZO_VER).tar.gz | $(TARGETPREFIX) $(TOUCH) +ifeq ($(BOXSERIES), hd2) +DEFAULT_TZ="CET-1CEST,M3.5.0,M10.5.0/3" +else +DEFAULT_TZ="CET" +endif TZDATA_ZONELIST = \ africa antarctica asia australasia europe northamerica \ southamerica etcetera backward factory @@ -1371,6 +1376,11 @@ $(D)/timezone: $(ARCHIVE)/tzdata$(TZDATA_VER).tar.gz | find-zic $(TARGETPREFIX) test -e zoneinfo/$$x || echo "WARNING: timezone $$x not found."; \ done; \ cp -ar zoneinfo $(TARGETPREFIX)/share/ + echo ${DEFAULT_TZ} > $(TARGETPREFIX)/etc/timezone + ln -sf /usr/share/zoneinfo/CET /etc/localtime +ifeq ($(BOXSERIES), hd2) + echo ${DEFAULT_TZ} > $(TARGETPREFIX)/etc/TZ +endif install -m 0644 $(PATCHES)/timezone.xml $(TARGETPREFIX)/etc/ $(REMOVE)/timezone $(TOUCH) -- 2.39.5