summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRadek Vykydal <rvykydal@redhat.com>2009-02-03 17:42:22 +0100
committerRadek Vykydal <rvykydal@redhat.com>2009-02-03 17:42:22 +0100
commitd016938b919ecc8db60cc0c7959395aa60168117 (patch)
treecd941856ea18fd8ee85917d06957bd02bd360f89
parent497508da793960b92a371367888467920edced4b (diff)
downloadanaconda-d016938b919ecc8db60cc0c7959395aa60168117.tar.gz
anaconda-d016938b919ecc8db60cc0c7959395aa60168117.tar.xz
anaconda-d016938b919ecc8db60cc0c7959395aa60168117.zip
Fix systemtime setting during installation (#6175, #461526).
Moves setuptime step into earliear stage to create files with correct timestamp (prevent future time skew after boot). Includes /usr/share/zoneinfo tree in stage 2, it is needed when hw clock is in localtime (for hwclock --hctosys call).
-rw-r--r--dispatch.py2
-rwxr-xr-xscripts/upd-instroot2
2 files changed, 2 insertions, 2 deletions
diff --git a/dispatch.py b/dispatch.py
index 3a7dc1af4..b773404dd 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 ae37ab64f..033d96544 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