[PATCH] Fix systemtime setting during installation (#6175, #461526).

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux