Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Arjan Bouter (799113ffd65dbd5d6c41bc47925d9db3e101ffda)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Arjan Bouter <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Arjan Bouter (799113ffd65dbd5d6c41bc47925d9db3e101ffda)
  • Date: Sun, 20 May 2012 06:42:39 -0500

GIT changes to master grimoire by Arjan Bouter <abouter AT sourcemage.org>:

libs/tzdata/HISTORY | 4 ++++
libs/tzdata/INSTALL | 4 +++-
2 files changed, 7 insertions(+), 1 deletion(-)

New commits:
commit 799113ffd65dbd5d6c41bc47925d9db3e101ffda
Author: Arjan Bouter <abouter AT sourcemage.org>
Commit: Arjan Bouter <abouter AT sourcemage.org>

tzdata: use ln instead of zic so the spell works if /etc and /usr are on
different partitions. Note that the SA still has to clean
/usr/share/zoneinfo or the spell will fail.

diff --git a/libs/tzdata/HISTORY b/libs/tzdata/HISTORY
index 049d838..31c6cfb 100644
--- a/libs/tzdata/HISTORY
+++ b/libs/tzdata/HISTORY
@@ -1,3 +1,7 @@
+2012-05-19 Arjan Bouter <abouter AT sourcemage.org>
+ * INSTALL: use ln instead of zic -l to avoid failure if /etc and /usr
are on
+ different partitions
+
2012-05-17 Sukneet Basuta <sukneet AT sourcemage.org>
* BUILD, CONFIGURE, DETAILS, INSTALL, PRE_BUILD, TRIGGERS: spell
created
* timezones: timezone list
diff --git a/libs/tzdata/INSTALL b/libs/tzdata/INSTALL
index 420f8e8..db96231 100755
--- a/libs/tzdata/INSTALL
+++ b/libs/tzdata/INSTALL
@@ -13,7 +13,9 @@ echo "Local TIme Zone: " $LOCAL_TIMEZONE &&
zic -y ./yearistype -d ${INSTALL_ROOT}/usr/share/zoneinfo ${TIMEZONES[@]}
&&
zic -y ./yearistype -d ${INSTALL_ROOT}/usr/share/zoneinfo/posix
${TIMEZONES[@]} &&
zic -y ./yearistype -d ${INSTALL_ROOT}/usr/share/zoneinfo/right -L
leapseconds ${TIMEZONES[@]} &&
-zic -y ./yearistype -d ${INSTALL_ROOT}/usr/share/zoneinfo -l
"$LOCAL_TIMEZONE" &&
+# zic -l breaks if /etc and /usr are on different partitions
+#zic -y ./yearistype -d ${INSTALL_ROOT}/usr/share/zoneinfo -l
"$LOCAL_TIMEZONE" &&
+ln -sf ${INSTALL_ROOT}/usr/share/zoneinfo/$LOCAL_TIMEZONE
${INSTALL_ROOT}/etc/localtime &&
#If you want POSIX compatibility, use "America/New_York".
zic -y ./yearistype -d ${INSTALL_ROOT}/usr/share/zoneinfo -p
America/New_York &&





Archive powered by MHonArc 2.6.24.

Top of Page