[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[PATCH] Fix systemtime setting during installation (#6175, #461526).
- From: Radek Vykydal <rvykydal redhat com>
- To: Discussion of Development and Customization of the Red Hat Linux Installer <anaconda-devel-list redhat com>
- Subject: [PATCH] Fix systemtime setting during installation (#6175, #461526).
- Date: Tue, 03 Feb 2009 12:08:53 +0100
Hi,
This patch:
Moves setuptime step into earliear stage to create files
with correct timestamp (prevent future timestamp skew after boot).
Includes /usr/share/zoneinfo tree in stage 2 (about 0.7 MB),
it is needed if hw clock is in localtime (for
hwclock --hctosys call).
I expect including zoneifo tree in stage 2 to be controversal,
for more info about where we are with timezone setting
and my rationale, please see
https://www.redhat.com/archives/anaconda-devel-list/2009-February/msg00009.html
esp. the second part starting with "Dealing with the checking"
Radek
---
dispatch.py | 2 +-
scripts/upd-instroot | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dispatch.py b/dispatch.py
index 3a7dc1a..b773404 100644
--- a/dispatch.py
+++ b/dispatch.py
@@ -76,6 +76,7 @@ installSteps = [
("network", ),
("timezone", ),
("accounts", ),
+ ("setuptime", setupTimezone, ),
("partitionobjinit", partitionObjectsInitialize, ),
("parttype", ),
("autopartitionexecute", doAutoPartition, ),
@@ -99,7 +100,6 @@ installSteps = [
("group-selection", ),
("postselection", doPostSelection, ),
("install", ),
- ("setuptime", setupTimezone, ),
("preinstallconfig", doPreInstall, ),
("installpackages", doInstall, ),
("postinstallconfig", doPostInstall, ),
diff --git a/scripts/upd-instroot b/scripts/upd-instroot
index ae37ab6..033d965 100755
--- a/scripts/upd-instroot
+++ b/scripts/upd-instroot
@@ -617,7 +617,7 @@ usr/share/terminfo/x/xterm
usr/share/xorg/extramodes
usr/share/xorg/vesamodes
usr/share/zenity
-usr/share/zoneinfo/zone.tab
+usr/share/zoneinfo
var/cache/hald
var/lib/PolicyKit*
var/lib/dbus
--
1.5.4.3
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]