Mailinglist Archive: yast-commit (590 mails)

< Previous Next >
[yast-commit] r61572 - in /trunk/country: VERSION package/yast2-country.changes timezone/src/Timezone.ycp
  • From: jsuchome@xxxxxxxxxxxxxxxx
  • Date: Thu, 01 Apr 2010 13:13:47 -0000
  • Message-id: <E1NxKDT-0003rL-To@xxxxxxxxxxxxxxxx>
Author: jsuchome
Date: Thu Apr 1 15:13:47 2010
New Revision: 61572

URL: http://svn.opensuse.org/viewcvs/yast?rev=61572&view=rev
Log:
- '/sbin/hwclock --systz' can be called only once (bnc#584484)
- 2.19.10


Modified:
trunk/country/VERSION
trunk/country/package/yast2-country.changes
trunk/country/timezone/src/Timezone.ycp

Modified: trunk/country/VERSION
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/country/VERSION?rev=61572&r1=61571&r2=61572&view=diff
==============================================================================
--- trunk/country/VERSION (original)
+++ trunk/country/VERSION Thu Apr 1 15:13:47 2010
@@ -1 +1 @@
-2.19.9
+2.19.10

Modified: trunk/country/package/yast2-country.changes
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/country/package/yast2-country.changes?rev=61572&r1=61571&r2=61572&view=diff
==============================================================================
--- trunk/country/package/yast2-country.changes (original)
+++ trunk/country/package/yast2-country.changes Thu Apr 1 15:13:47 2010
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Thu Apr 1 13:23:21 CEST 2010 - jsuchome@xxxxxxx
+
+- '/sbin/hwclock --systz' can be called only once (bnc#584484)
+- 2.19.10
+
+-------------------------------------------------------------------
Tue Mar 9 13:45:51 CET 2010 - jsuchome@xxxxxxx

- YaPI/TIME.pm : enable returning timezone for language (bnc#558364)

Modified: trunk/country/timezone/src/Timezone.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/country/timezone/src/Timezone.ycp?rev=61572&r1=61571&r2=61572&view=diff
==============================================================================
--- trunk/country/timezone/src/Timezone.ycp (original)
+++ trunk/country/timezone/src/Timezone.ycp Thu Apr 1 15:13:47 2010
@@ -148,6 +148,9 @@
// 'language --> default timezone' conversion map
map<string, string> lang2tz = $[];

+// remember if /sbin/hwclock --hctosys was called, it can be done only once
(bnc#584484)
+boolean systz_called = false;
+
// ------------------------------------------------------------------
// END: Locally defined data
// ------------------------------------------------------------------
@@ -261,7 +264,11 @@
cmd = "/sbin/hwclock --hctosys " + hwclock;
if (Stage::initial () && hwclock == "--localtime")
{
- cmd = "/sbin/hwclock --systz --localtime --noadjfile && touch
/dev/shm/warpclock";
+ if (!systz_called)
+ {
+ cmd = "/sbin/hwclock --systz --localtime --noadjfile &&
touch /dev/shm/warpclock";
+ systz_called = true;
+ }
}
y2milestone( "Set cmd %1", cmd );
y2milestone( "Set ret %1", SCR::Execute(.target.bash_output, cmd ));

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages