From: Markham Date: Sun, 6 Nov 2022 15:33:29 +0000 (+0100) Subject: one more timezone fix X-Git-Url: https://git.webhop.me/?a=commitdiff_plain;h=f939bf041fadf63a197144483230ccc94811a8f9;p=bs-cst-neutrino-hd.git one more timezone fix --- 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)