Note: these are somehow redundant as many other entries are, too.
Poland → Europe/Warsaw
Portugal → Europe/Lisbon
Turkey → Europe/Istanbul
However, we already have e.g.
Eire → Europe/Dublin
Egypt → Africa/Cairo
…
As far as I can tell, tz uses hardlinks here. (Debian does some magic in
its 'tzdata' package to convert those hardlinks into symlinks.)
So to be consistent we could also introduce some magic and look for
duplicates where tz considers one zone as link to another or for
simplifying things we could just add everything. This patch takes the
second approach.
Note: if the user selects e.g. 'Poland' and 'Europe/Warsaw' that would
waste space on the target, because the same file is copied twice without
symbolic or hard link.
Signed-off-by: Alexander Dahl <[email protected]>
---
rules/timezone.in | 12 ++++++++++++
rules/timezone.make | 3 +++
2 files changed, 15 insertions(+)
diff --git a/rules/timezone.in b/rules/timezone.in
index 7d5b8e736..378a05b68 100644
--- a/rules/timezone.in
+++ b/rules/timezone.in
@@ -195,6 +195,14 @@ config TIMEZONE_NZ_CHAT
bool
prompt "NZ-CHAT"
+config TIMEZONE_POLAND
+ bool
+ prompt "Poland"
+
+config TIMEZONE_PORTUGAL
+ bool
+ prompt "Portugal"
+
config TIMEZONE_PRC
bool
prompt "PRC"
@@ -215,6 +223,10 @@ config TIMEZONE_SINGAPORE
bool
prompt "Singapore"
+config TIMEZONE_TURKEY
+ bool
+ prompt "Turkey"
+
config TIMEZONE_UCT
bool
prompt "UCT"
diff --git a/rules/timezone.make b/rules/timezone.make
index b978bc843..b6cb33ce7 100644
--- a/rules/timezone.make
+++ b/rules/timezone.make
@@ -65,11 +65,14 @@ TIMEZONE-$(PTXCONF_TIMEZONE_MST7MDT) += "MST7MDT"
TIMEZONE-$(PTXCONF_TIMEZONE_NAVAJO) += "Navajo"
TIMEZONE-$(PTXCONF_TIMEZONE_NZ) += "NZ"
TIMEZONE-$(PTXCONF_TIMEZONE_NZ_CHAT) += "NZ-CHAT"
+TIMEZONE-$(PTXCONF_TIMEZONE_POLAND) += "Poland"
+TIMEZONE-$(PTXCONF_TIMEZONE_PORTUGAL) += "Portugal"
TIMEZONE-$(PTXCONF_TIMEZONE_PRC) += "PRC"
TIMEZONE-$(PTXCONF_TIMEZONE_PST8PDT) += "PST8PDT"
TIMEZONE-$(PTXCONF_TIMEZONE_ROC) += "ROC"
TIMEZONE-$(PTXCONF_TIMEZONE_ROK) += "ROK"
TIMEZONE-$(PTXCONF_TIMEZONE_SINGAPORE) += "Singapore"
+TIMEZONE-$(PTXCONF_TIMEZONE_TURKEY) += "Turkey"
TIMEZONE-$(PTXCONF_TIMEZONE_UCT) += "UCT"
TIMEZONE-$(PTXCONF_TIMEZONE_UNIVERSAL) += "Universal"
TIMEZONE-$(PTXCONF_TIMEZONE_UTC) += "UTC"
--
2.11.0
_______________________________________________
ptxdist mailing list
[email protected]