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 &&
[SM-Commit] GIT changes to master grimoire by Arjan Bouter (799113ffd65dbd5d6c41bc47925d9db3e101ffda),
Arjan Bouter, 05/20/2012