Skip to contentSkip to conversation

Revert "package/tzdata: install a default localtime"

PATCH New Yann E. MORIN 2 participants 2 messages Jan 28, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Revert "package/tzdata: install a default localtime"

From: "Yann E. MORIN" <[email protected]>

This reverts commit f96e4d7f348ce1b7b53763f102bbedb1ef6a1991.

As suggested by Thomas, we need to find a single solution that is valid for both (e)glibc and uClibc.

There is work on-going by Alexandre, so just revert this for now.

---
 package/tzdata/Config.in | 10 ----------
 package/tzdata/tzdata.mk |  8 +-------
 2 files changed, 1 insertion(+), 17 deletions(-)
package/tzdata/Config.in +0 -10
index c0ede1f..1be6814 100644
@@ -23,14 +23,4 @@ config BR2_PACKAGE_TZDATA_ZONELIST
 	  The full list is the list of files in the time zone database source,
 	  not including the build and .tab files.
 
-config BR2_PACKAGE_TZDATA_LOCALTIME
-	string "default local time"
-	help
-	  The time zone to install as the default local time, expressed as a
-	  tzdata location, such as:
-	    GMT, Europe/Paris, America/New_York, Pacific/Wallis...
-
-	  If empty, no local time will be set, and the dates will be
-	  expressed in UTC.
-
 endif
package/tzdata/tzdata.mk +1 -7
index 74263e1..1cb5b3f 100644
@@ -39,14 +39,8 @@ define TZDATA_INSTALL_TARGET_CMDS
 	cp -a $(@D)/_output/* $(TARGET_DIR)/usr/share/zoneinfo
 	cd $(TARGET_DIR)/usr/share/zoneinfo;    \
 	for zone in posix/*; do                 \
-	    ln -sfn "$${zone}" "$${zone##*/}";  \
+	    ln -sfn "$${zone}" "$${zone##*/}";    \
 	done
-	if [ -n "$(BR2_PACKAGE_TZDATA_LOCALTIME)" ]; then                   \
-	    cd $(TARGET_DIR)/etc;                                           \
-	    ln -sf ../usr/share/zoneinfo/$(BR2_PACKAGE_TZDATA_LOCALTIME)    \
-	           localtime;                                               \
-	    echo "$(BR2_PACKAGE_TZDATA_LOCALTIME)" >timezone;               \
-	fi
 endef
 
 $(eval $(generic-package))
Signature · 1 line
1.8.1.2
#1 lore raw

PATCH 1/1 Revert "package/tzdata: install a default localtime"

Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Yann" == Yann E MORIN <[email protected]> writes:

From: "Yann E. MORIN" <[email protected]> This reverts commit f96e4d7f348ce1b7b53763f102bbedb1ef6a1991.

As suggested by Thomas, we need to find a single solution that is valid for both (e)glibc and uClibc.

Quoted 6 lines

There is work on-going by Alexandre, so just revert this for now.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard