[Lunar-commits] r19353 - lunar-iso/trunk/scripts

Auke Kok sofar at lunar-linux.org
Tue Mar 21 04:45:05 UTC 2006


Author: sofar
Date: 2006-03-21 04:45:03 +0000 (Tue, 21 Mar 2006)
New Revision: 19353

Modified:
   lunar-iso/trunk/scripts/kernels
Log:
Force kernels to be compiled against UTC timezone


Modified: lunar-iso/trunk/scripts/kernels
===================================================================
--- lunar-iso/trunk/scripts/kernels	2006-03-21 04:42:20 UTC (rev 19352)
+++ lunar-iso/trunk/scripts/kernels	2006-03-21 04:45:03 UTC (rev 19353)
@@ -1,5 +1,8 @@
 #!/bin/bash
 
+mv /etc/localtime /etc/localtime-
+ln -sf /usr/share/zoneinfo/UTC /etc/localtime
+
 echo "+ Starting compile of kernels"
 . /etc/lunar/config
 export VERBOSE=off
@@ -139,3 +142,6 @@
 
 mv $ISO_SOURCE/kernels/.kernels-tmp $ISO_SOURCE/kernels/.kernels
 mv $ISO_SOURCE/kernels/.initrd_kernels-tmp $ISO_SOURCE/kernels/.initrd_kernels
+
+rm -f /etc/localtime
+mv /etc/localtime- /etc/localtime



More information about the Lunar-commits mailing list