[Debian-live-changes] r2524 - in dists/trunk/live-initramfs: docs scripts scripts/live-bottom
daniel at alioth.debian.org
daniel at alioth.debian.org
Thu Jul 19 18:10:03 UTC 2007
Author: daniel
Date: 2007-07-19 18:10:03 +0000 (Thu, 19 Jul 2007)
New Revision: 2524
Modified:
dists/trunk/live-initramfs/docs/ChangeLog
dists/trunk/live-initramfs/docs/parameters.txt
dists/trunk/live-initramfs/scripts/live
dists/trunk/live-initramfs/scripts/live-bottom/02_timezone
Log:
Modified: dists/trunk/live-initramfs/docs/ChangeLog
===================================================================
--- dists/trunk/live-initramfs/docs/ChangeLog 2007-07-19 10:41:00 UTC (rev 2523)
+++ dists/trunk/live-initramfs/docs/ChangeLog 2007-07-19 18:10:03 UTC (rev 2524)
@@ -1,3 +1,9 @@
+2007-07-19 Daniel Baumann <daniel at debian.org>
+
+ * scripts/live, scripts/live-bottom/02_timezone:
+ - Added utc boot parameter as suggested by Vladimir Stavrinov
+ <vs at inist.ru>
+
2007-07-18 Daniel Baumann <daniel at debian.org>
* docs/parameters.txt:
Modified: dists/trunk/live-initramfs/docs/parameters.txt
===================================================================
--- dists/trunk/live-initramfs/docs/parameters.txt 2007-07-19 10:41:00 UTC (rev 2523)
+++ dists/trunk/live-initramfs/docs/parameters.txt 2007-07-19 18:10:03 UTC (rev 2524)
@@ -43,6 +43,7 @@
live todisk=DEVICE
live toram
live union=unionfs|aufs
+live utc=yes|no
live xdebconf
live xvideomode=RESOLUTION
Modified: dists/trunk/live-initramfs/scripts/live
===================================================================
--- dists/trunk/live-initramfs/scripts/live 2007-07-19 10:41:00 UTC (rev 2523)
+++ dists/trunk/live-initramfs/scripts/live 2007-07-19 18:10:03 UTC (rev 2524)
@@ -228,6 +228,11 @@
export UNIONTYPE
;;
+ utc=*)
+ UTC="${x#utc=}"
+ export UTC
+ ;;
+
xdebconf)
XDEBCONF="Yes"
export XDEBCONF
Modified: dists/trunk/live-initramfs/scripts/live-bottom/02_timezone
===================================================================
--- dists/trunk/live-initramfs/scripts/live-bottom/02_timezone 2007-07-19 10:41:00 UTC (rev 2523)
+++ dists/trunk/live-initramfs/scripts/live-bottom/02_timezone 2007-07-19 18:10:03 UTC (rev 2524)
@@ -40,6 +40,11 @@
set tzdata/Zones/Etc UTC
EOF
cp -f /root/usr/share/zoneinfo/UTC /root/etc/localtime
-fi
+fi
+if [ -n "${UTC}" ]
+then
+ sed -i -e "s/UTC=.*/UTC=${UTC}/" /root/etc/default/rcS
+fi
+
log_end_msg
More information about the Debian-live-changes
mailing list