/[smeserver]/rpms/anaconda/sme8/0009-Force-time-to-be-based-on-UTC.patch
ViewVC logotype

Contents of /rpms/anaconda/sme8/0009-Force-time-to-be-based-on-UTC.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.3 - (show annotations) (download)
Mon Jun 7 14:25:13 2010 UTC (14 years, 5 months ago) by slords
Branch: MAIN
Changes since 1.2: +1 -1 lines
* Mon Jun 07 2010 Shad L. Lords <slords@mail.com> 11.1.2.209-1.sme
- Fix mkinitrd part of no kernel patch so dd works [SME: 6031]

1 From 7b73dc573aafddebcc3b9dff9a2e20665c22e654 Mon Sep 17 00:00:00 2001
2 From: Shad L. Lords <slords@mail.com>
3 Date: Mon, 19 Oct 2009 08:31:38 -0600
4 Subject: [PATCH] Force time to be based on UTC
5
6 ---
7 textw/timezone_text.py | 9 ++++-----
8 1 files changed, 4 insertions(+), 5 deletions(-)
9
10 diff --git a/textw/timezone_text.py b/textw/timezone_text.py
11 index f30e68f..b29428f 100644
12 --- a/textw/timezone_text.py
13 +++ b/textw/timezone_text.py
14 @@ -37,8 +37,7 @@ class TimezoneWindow:
15
16 def updateSysClock(self):
17 args = ["--hctosys"]
18 - if self.c.selected():
19 - args.append("--utc")
20 + args.append("--utc")
21
22 iutil.execWithRedirect("hwclock", args, searchPath=1)
23 self.g.setTimer(500)
24 @@ -85,14 +84,14 @@ class TimezoneWindow:
25 self.l.setCurrent(default)
26 # self.l.setCallback(self.updateClock)
27
28 - self.c = Checkbox(_("System clock uses UTC"), isOn = asUtc)
29 +# self.c = Checkbox(_("System clock uses UTC"), isOn = asUtc)
30 # self.c.setCallback(self.updateSysClock)
31
32 self.g = GridFormHelp(screen, _("Time Zone Selection"), "timezone",
33 1, 5)
34 self.g.add(t, 0, 0)
35 # self.g.add(self.label, 0, 1, padding = (0, 1, 0, 0), anchorLeft = 1)
36 - self.g.add(self.c, 0, 2, padding = (0, 1, 0, 1), anchorLeft = 1)
37 +# self.g.add(self.c, 0, 2, padding = (0, 1, 0, 1), anchorLeft = 1)
38 self.g.add(self.l, 0, 3, padding = (0, 0, 0, 1))
39 self.g.add(bb, 0, 4, growx = 1)
40
41 @@ -120,7 +119,7 @@ class TimezoneWindow:
42 break
43
44 screen.popWindow()
45 - anaconda.id.timezone.setTimezoneInfo(self.l.current(), asUtc = self.c.selected())
46 + anaconda.id.timezone.setTimezoneInfo(self.l.current(), asUtc = 1)
47
48 return INSTALL_OK
49
50 --
51 1.5.5.6
52

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed