On Thu, Jun 28, 2007 at 09:51:18PM +0200, Mathieu GELI wrote: > It seems for now hardocded to Etc/GMT. > We could have some pseudo debconf preseeding in that place like > following patch does.
> Applied to current SVN, I use it like e.g : > $ make-live --bootappend="timezone=Europe/Paris" Some addition. In most cases the hardware clock is set to local time rather then to UTC. At least this is true for all of my machines. In this case if the timezone is set on boot options, then the system time become wrong shifted according to the timezone. That is because of hardware clock is considered to be set to UTC time by default. I have changed this default by adding "UTC=no" to /etc/default/rcS if the timezone is set. Here is patch attached for scripts/live-bottom/02_timezone rev. 2273 My be better (not sure) to add separate boot option for this. -- ********************************* **** Vladimir Stavrinov ****** ******* [EMAIL PROTECTED] ****** *********************************
--- live-initramfs/scripts/live-bottom/02_timezone 2007-07-19 13:25:02.000000000 +0400 +++ live-initramfs.patched/scripts/live-bottom/02_timezone 2007-07-19 15:33:51.000000000 +0400 @@ -34,6 +34,7 @@ set tzdata/Zones/$area $zone EOF cp -f /root/usr/share/zoneinfo/${area}/${zone} /root/etc/localtime + echo "UTC=no" >> /root/etc/default/rcS else chroot /root debconf-communicate -fnoninteractive live-initramfs > /dev/null <<EOF set tzdata/Areas Etc
_______________________________________________ Debian-live-devel mailing list Debian-live-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel