Mailinglist Archive: yast-devel (224 mails)

< Previous Next >
[yast-devel] [ci_new_pac] JFYI yast2-country -> sle12
Script 'mail_helper' called by ro
Hello packager,

This is just FYI. Your package was checked in in distribution "sle12"
by autobuild-member: ro.

Here comes the log...

---------------------------%<------------------------------
Hi,

here is the log from ci_new_pac /mounts/work_src_done/SLE12/yast2-country ->
sle12




Changes:
--------
--- /work/SRC/SUSE:SLE-12:GA/yast2-country/yast2-country.changes
2014-01-17 14:16:27.000000000 +0100
+++ /mounts/work_src_done/SLE12/yast2-country/yast2-country.changes
2014-01-22 09:51:27.000000000 +0100
@@ -1,0 +2,6 @@
+Tue Jan 21 09:16:47 UTC 2014 - jsrain@xxxxxxx
+
+- adjusted timezone dialog layout (fate#314695)
+- 3.1.1
+
+-------------------------------------------------------------------

calling whatdependson for sle12-i586
Packages directly triggered for rebuild:
- yast2-country
- at least 28 other packages
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/SUSE:SLE-12:GA/yast2-country (Old)
and /mounts/work_src_done/SLE12/yast2-country (BS:build ID:31194
MAIL:yast-devel@xxxxxxxxxxxx) (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-country", Maintainer is "yast-devel@xxxxxxxxxxxx"


Old:
----
yast2-country-3.1.0.tar.bz2

New:
----
yast2-country-3.1.1.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ yast2-country.spec ++++++
--- /var/tmp/diff_new_pack.vY4lKB/_old 2014-01-27 16:07:52.000000000 +0100
+++ /var/tmp/diff_new_pack.vY4lKB/_new 2014-01-27 16:07:52.000000000 +0100
@@ -17,25 +17,21 @@


Name: yast2-country
-Version: 3.1.0
+Version: 3.1.1
Release: 0

BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: %{name}-%{version}.tar.bz2

+Group: System/YaST
+License: GPL-2.0
#policy files for YaPI dbus interface
Source1: org.opensuse.yast.modules.yapi.time.policy
Source2: org.opensuse.yast.modules.yapi.language.policy
-BuildRequires: perl-XML-Writer
+BuildRequires: perl-XML-Writer update-desktop-files yast2-testsuite yast2
yast2-perl-bindings
+BuildRequires: yast2-devtools >= 3.1.10
BuildRequires: polkit-devel
-BuildRequires: update-desktop-files
-BuildRequires: yast2
-BuildRequires: yast2-devtools >= 3.0.6
-BuildRequires: yast2-perl-bindings
-BuildRequires: yast2-testsuite
-Requires: timezone
-Requires: yast2-perl-bindings
-Requires: yast2-trans-stats
+Requires: yast2-trans-stats yast2-perl-bindings timezone
# XVersion.ycp
# Wizard::SetDesktopTitleAndIcon
Requires: yast2 >= 2.21.22
@@ -58,12 +54,8 @@
Obsoletes: yast2-config-keyboard
Obsoletes: yast2-config-language
Obsoletes: yast2-config-timezone
-Provides: yast2-db-country
-Provides: yast2-db-keyboard
-Provides: yast2-db-timezone
-Obsoletes: yast2-db-country
-Obsoletes: yast2-db-keyboard
-Obsoletes: yast2-db-timezone
+Provides: yast2-db-country yast2-db-keyboard yast2-db-timezone
+Obsoletes: yast2-db-country yast2-db-keyboard yast2-db-timezone
Provides: yast2-trans-inst-keyboard
Obsoletes: yast2-trans-inst-keyboard
Provides: yast2-trans-inst-language
@@ -84,8 +76,6 @@
Requires: yast2-ruby-bindings >= 1.0.0

Summary: YaST2 - Country Settings (Language, Keyboard, and Timezone)
-License: GPL-2.0
-Group: System/YaST

%description
Country specific data and configuration modules (language, keyboard,
@@ -105,6 +95,7 @@
install -m 0644 %SOURCE1 $RPM_BUILD_ROOT/usr/share/polkit-1/actions/
install -m 0644 %SOURCE2 $RPM_BUILD_ROOT/usr/share/polkit-1/actions/

+
# common
%files
%defattr(-,root,root)
@@ -145,4 +136,3 @@
%{yast_ydatadir}/languages/*.ycp
%{yast_moduledir}/Language.rb

-%changelog



++++++ yast2-country-3.1.0.tar.bz2 -> yast2-country-3.1.1.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-country-3.1.0/CONTRIBUTING.md
new/yast2-country-3.1.1/CONTRIBUTING.md
--- old/yast2-country-3.1.0/CONTRIBUTING.md 1970-01-01 01:00:00.000000000
+0100
+++ new/yast2-country-3.1.1/CONTRIBUTING.md 2014-01-27 11:48:03.000000000
+0100
@@ -0,0 +1,87 @@
+YaST Contribution Guidelines
+============================
+
+YaST is an open source project and as such it welcomes all kinds of
+contributions. If you decide to contribute, please follow these guidelines to
+ensure the process is effective and pleasant both for you and YaST maintainers.
+
+There are two main forms of contribution: reporting bugs and performing code
+changes.
+
+Bug Reports
+-----------
+
+If you find a problem, please report it either using
+[Bugzilla](https://bugzilla.novell.com/enter_bug.cgi?format=guided&product=openSUSE+Factory&component=YaST2)
+or [GitHub issues](../../issues). (For Bugzilla, use the [simplified
+registration](https://secure-www.novell.com/selfreg/jsp/createSimpleAccount.jsp)
+if you don't have an account yet.)
+
+If you find a problem, please report it either using
+[Bugzilla](https://bugzilla.novell.com/) or GitHub issues. We can't guarantee
+that every bug will be fixed, but we'll try.
+
+When creating a bug report, please follow our [bug reporting
+guidelines](http://en.opensuse.org/openSUSE:Report_a_YaST_bug).
+
+Code Changes
+------------
+
+We welcome all kinds of code contributions, from simple bug fixes to
significant
+refactorings and implementation of new features. However, before making any
+non-trivial contribution, get in touch with us first — this can prevent
wasted
+effort on both sides. Also, have a look at our [development
+documentation](http://en.opensuse.org/openSUSE:YaST_development).
+
+To send us your code change, use GitHub pull requests. The workflow is as
+follows:
+
+ 1. Fork the project.
+
+ 2. Create a topic branch based on `master`.
+
+ 3. Implement your change, including tests (if possible). Make sure you adhere
+ to the [Ruby style
+ guide](https://github.com/SUSE/style-guides/blob/master/Ruby.md).
+
+ 4. Make sure your change didn't break anything by building the RPM package
+ (`rake osc:build`). The build process includes running the full testsuite.
+
+ 5. Publish the branch and create a pull request.
+
+ 6. YaST developers will review your change and possibly point out issues.
+ Adapt the code under their guidance until they are all resolved.
+
+ 7. Finally, the pull request will get merged or rejected.
+
+See also [GitHub's guide on
+contributing](https://help.github.com/articles/fork-a-repo).
+
+If you want to do multiple unrelated changes, use separate branches and pull
+requests.
+
+Do not change the `VERSION` and `*.changes` files as this could lead to
+conflicts.
+
+### Commits
+
+Each commit in the pull request should do only one thing, which is clearly
+described by its commit message. Especially avoid mixing formatting changes and
+functional changes into one commit. When writing commit messages, adhere to
+[widely used
+conventions](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html).
+
+If your commit is related to a bug in Buzgilla or an issue on GitHub, make sure
+you mention it in the commit message for cross-reference. Use format like
+bnc#775814 or gh#yast/yast-foo#42. See also [GitHub
+autolinking](https://help.github.com/articles/github-flavored-markdown#references)
+and [openSUSE abbreviation
+reference](http://en.opensuse.org/openSUSE:Packaging_Patches_guidelines#Current_set_of_abbreviations).
+
+Additional Information
+----------------------
+
+If you have any question, feel free to ask at the [development mailing
+list](http://lists.opensuse.org/yast-devel/) or at the
+[#yast](http://webchat.freenode.net/?channels=%23yast) IRC channel on freenode.
+We'll do our best to provide a timely and accurate answer.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-country-3.1.0/Rakefile
new/yast2-country-3.1.1/Rakefile
--- old/yast2-country-3.1.0/Rakefile 2013-10-03 15:34:15.000000000 +0200
+++ new/yast2-country-3.1.1/Rakefile 2014-01-27 11:48:03.000000000 +0100
@@ -1,6 +1,6 @@
require "yast/rake"

-Packaging.configuration do |conf|
+Yast::Tasks.configuration do |conf|
#lets ignore license check for now
conf.skip_license_check << /.*/
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-country-3.1.0/VERSION
new/yast2-country-3.1.1/VERSION
--- old/yast2-country-3.1.0/VERSION 2013-10-03 15:34:15.000000000 +0200
+++ new/yast2-country-3.1.1/VERSION 1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-3.1.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-country-3.1.0/package/yast2-country.changes
new/yast2-country-3.1.1/package/yast2-country.changes
--- old/yast2-country-3.1.0/package/yast2-country.changes 2013-10-03
15:34:15.000000000 +0200
+++ new/yast2-country-3.1.1/package/yast2-country.changes 2014-01-27
11:48:03.000000000 +0100
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Tue Jan 21 09:16:47 UTC 2014 - jsrain@xxxxxxx
+
+- adjusted timezone dialog layout (fate#314695)
+- 3.1.1
+
+-------------------------------------------------------------------
Wed Oct 2 14:46:53 UTC 2013 - lslezak@xxxxxxx

- do not use *.spec.in template, use *.spec file with RPM macros
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-country-3.1.0/package/yast2-country.spec
new/yast2-country-3.1.1/package/yast2-country.spec
--- old/yast2-country-3.1.0/package/yast2-country.spec 2013-10-03
15:34:15.000000000 +0200
+++ new/yast2-country-3.1.1/package/yast2-country.spec 2014-01-27
11:48:03.000000000 +0100
@@ -17,7 +17,7 @@


Name: yast2-country
-Version: 3.1.0
+Version: 3.1.1
Release: 0

BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -29,7 +29,7 @@
Source1: org.opensuse.yast.modules.yapi.time.policy
Source2: org.opensuse.yast.modules.yapi.language.policy
BuildRequires: perl-XML-Writer update-desktop-files yast2-testsuite yast2
yast2-perl-bindings
-BuildRequires: yast2-devtools >= 3.0.6
+BuildRequires: yast2-devtools >= 3.1.10
BuildRequires: polkit-devel
Requires: yast2-trans-stats yast2-perl-bindings timezone
# XVersion.ycp
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-country-3.1.0/timezone/src/include/timezone/dialogs.rb
new/yast2-country-3.1.1/timezone/src/include/timezone/dialogs.rb
--- old/yast2-country-3.1.0/timezone/src/include/timezone/dialogs.rb
2013-10-03 15:34:15.000000000 +0200
+++ new/yast2-country-3.1.1/timezone/src/include/timezone/dialogs.rb
2014-01-27 11:48:03.000000000 +0100
@@ -53,7 +53,7 @@
Yast.import "Timezone"
Yast.import "Wizard"

- @hwclock_s_initial = :none
+ @hwclock_s = @hwclock_s_initial = :none

# if system clock is configured to sync with NTP
@ntp_used = false
@@ -135,6 +135,10 @@
# @return true if user changed the time (dialog accepted)
def SetTimeDialog
ntp_help_text = Convert.to_string(ntp_call("ui_help_text", {}))
+
+ utc_only = Timezone.utc_only
+ textmode = Language.GetTextMode
+
# help text for set time dialog
htext = Ops.add(
_(
@@ -145,6 +149,32 @@
ntp_help_text
)

+ if !utc_only
+ # help for time calculation basis:
+ # hardware clock references local time or UTC?
+ htext = htext + _(
+ "<p>\n" +
+ "Specify whether your machine is set to local time or UTC in
<b>Hardware Clock Set To</b>.\n" +
+ "Most PCs that also have other operating systems installed (such
as Microsoft\n" +
+ "Windows) use local time.\n" +
+ "Machines that have only Linux installed are usually\n" +
+ "set to Universal Time Coordinated (UTC).\n" +
+ "If the hardware clock is set to UTC, your system can switch
from standard time\n" +
+ "to daylight saving time and back automatically.\n" +
+ "</p>\n"
+ )
+
+ # help text: extra note about localtim
+ htext = htext + _(
+ "<p>\n" +
+ "Note: The internal system clock as used by the Linux kernel
must\n" +
+ "always be in UTC, because this is the reference for the correct
localtime\n" +
+ "in user space. If you are choosing localtime for CMOS clock,\n"
+
+ "check the user manual for background information about side
effects.\n" +
+ "</p>"
+ )
+ end
+
dt_widgets = false

hour = ""
@@ -252,55 +282,71 @@
dt_widgets = true
end

+ hwclock_term = VBox(
+ CheckBox(
+ Id(:hwclock),
+ Opt(:hstretch, :notify),
+ # check box label
+ _("&Hardware Clock Set to UTC"),
+ @hwclock_s == :hwclock_utc
+ ),
+ textmode ? Label("") : Empty()
+ )

-
-
- cont = HBox(
- HWeight(1, VBox()),
- HWeight(
- 6,
- RadioButtonGroup(
- Id(:rb),
- VBox(
- # radio button label (= how to setup time)
- Left(RadioButton(Id(:manual), Opt(:notify), _("Manually"))),
- VSpacing(0.5),
- HBox(
- HSpacing(3),
- VBox(
- Left(timeterm),
- VSpacing(),
- Left(dateterm),
- VSpacing(),
- HBox(
- HSpacing(0.5),
- Left(
- # check box label
- CheckBox(
- Id(:change_now),
- Opt(:notify),
- _("Change the Time Now"),
- true
+ cont = VBox(
+ HBox(
+ HWeight(1, VBox()),
+ HWeight(
+ 6,
+ RadioButtonGroup(
+ Id(:rb),
+ VBox(
+ # radio button label (= how to setup time)
+ Left(RadioButton(Id(:manual), Opt(:notify), _("Manually"))),
+ VSpacing(0.5),
+ HBox(
+ HSpacing(3),
+ VBox(
+ Left(timeterm),
+ VSpacing(),
+ Left(dateterm),
+ VSpacing(),
+ HBox(
+ HSpacing(0.5),
+ Left(
+ # check box label
+ CheckBox(
+ Id(:change_now),
+ Opt(:notify),
+ _("Change the Time Now"),
+ true
+ )
)
)
)
- )
- ),
- VSpacing(1),
- Left(
- RadioButton(
- Id(:ntp),
- Opt(:notify),
- # radio button label
- _("Synchronize with NTP Server"),
- false
- )
- ),
- ReplacePoint(Id(:rp), Empty())
+ ),
+ VSpacing(1),
+ Left(
+ RadioButton(
+ Id(:ntp),
+ Opt(:notify),
+ # radio button label
+ _("Synchronize with NTP Server"),
+ false
+ )
+ ),
+ ReplacePoint(Id(:rp), Empty())
+ )
)
- )
+ ),
+ HWeight(1, VBox())
),
- HWeight(1, VBox())
+ VSpacing(2),
+ HBox(
+ HWeight(1, VBox()),
+ HWeight(6, utc_only ? Empty() : hwclock_term),
+ HWeight(1, VBox())
+ )
)

Wizard.OpenAcceptDialog
@@ -367,6 +413,38 @@
end
end

+ if ret == :accept
+ # Get current settings.
+ # UTC vs. localtime, only if needed
+ #
+ @hwclock_s = :hwclock_utc
+ if !utc_only
+ @hwclock_s = UI.QueryWidget(Id(:hwclock), :Value) ? :hwclock_utc :
:hwclock_localtime
+
+ if !Timezone.windows_partition && @hwclock_s == :hwclock_localtime
+ # warning popup, in case local time is selected (bnc#732769)
+ if !Popup.ContinueCancel(
+ _(
+ "\n" +
+ "You selected local time, but only Linux seems to be
installed on your system.\n" +
+ "In such case, it is strongly recommended to use UTC,
and to click Cancel.\n" +
+ "\n" +
+ "If you want to keep local time, you must adjust the
CMOS clock twice the year\n" +
+ "because of Day Light Saving switches. If you miss to
adjust the clock, backups may fail,\n" +
+ "your mail system may drop mail messages, etc.\n" +
+ "\n" +
+ "If you use UTC, Linux will adjust the time
automatically.\n" +
+ "\n" +
+ "Do you want to continue with your selection (local
time)?"
+ )
+ )
+ ret = :not_next
+ next
+ end
+ end
+ end
+ end
+
if ret == :accept && ntp_rb
# before the sync, save the time zone (bnc#467318)
Timezone.Set(
@@ -490,7 +568,7 @@
# So you can only specify the timezone." (ihno)
if !Arch.s390 && !Mode.config
# button text
- settime = PushButton(Id(:settime), _("Cha&nge..."))
+ settime = PushButton(Id(:settime), _("Other &Settings..."))
end

textmode = Language.GetTextMode
@@ -595,72 +673,58 @@
# title for combo box 'timezone'
ComboBox(Id(:timezone), Opt(:notify), _("Time &Zone"))
)
+ ),
+ HSpacing(),
+ HWeight(1, VBox(
+ Left(Label(_("Date and Time"))),
+ Left(Label(Id(:date), date)))
+ ),
+ HSpacing(),
+ VBox(
+ Label(" "),
+ settime
)
)
)
else
- timezoneterm = HBox(
- SelectionBox(
- Id(:region),
- Opt(:notify, :immediate),
- # label text
- _("&Region"),
- Timezone.Region
+ timezoneterm = VBox(
+ HBox(
+ SelectionBox(
+ Id(:region),
+ Opt(:notify, :immediate),
+ # label text
+ _("&Region"),
+ Timezone.Region
+ ),
+ HSpacing(),
+ ReplacePoint(
+ Id(:tzsel),
+ # title for selection box 'timezone'
+ SelectionBox(Id(:timezone), Opt(:notify), _("Time &Zone"))
+ )
),
- HSpacing(),
- ReplacePoint(
- Id(:tzsel),
- # title for selection box 'timezone'
- SelectionBox(Id(:timezone), Opt(:notify), _("Time &Zone"))
+ HBox(
+ HSpacing(),
+ VBox(
+ Left(Label(_("Date and Time"))),
+ Left(Label(Id(:date), date))
+ ),
+ HSpacing(),
+ VBox(
+ Label(" "),
+ settime
+ ),
+ HSpacing()
)
)
end
- hwclock_term = VBox(
- CheckBox(
- Id(:hwclock),
- Opt(:hstretch, :notify),
- # check box label
- _("&Hardware Clock Set to UTC"),
- hwclock == "-u"
- ),
- textmode ? Label("") : Empty()
- )

contents = MarginBox(
term(:leftMargin, 2),
term(:rightMargin, 2),
term(:topMargin, 0),
term(:bottomMargin, 0.2),
- VBox(
- timezoneterm,
- VSpacing(0.2),
- VSquash(
- HBox(
- HWeight(1, utc_only ? Empty() : hwclock_term),
- HSpacing(1),
- # frame label
- HWeight(
- 1,
- Frame(
- Id(:time_fr),
- time_frame_label,
- MarginBox(
- term(:leftMargin, 1.2),
- term(:rightMargin, 1),
- term(:topMargin, 0),
- term(:bottomMargin, 0),
- textmode ?
- VBox(
- Label(Id(:date), Opt(:outputField, :hstretch), date),
- Right(settime)
- ) :
- HBox(Label(Id(:date), date), HStretch(), Right(settime))
- )
- )
- )
- )
- )
- )
+ timezoneterm
)
# cache for lists with timezone items
timezones_for_region = {}
@@ -763,37 +827,6 @@
"</p>\n"
)

- if !utc_only
- # help for time calculation basis:
- # hardware clock references local time or UTC?
- help_text = Ops.add(
- help_text,
- _(
- "<p>\n" +
- "Specify whether your machine is set to local time or UTC in
<b>Hardware Clock Set To</b>.\n" +
- "Most PCs that also have other operating systems installed (such
as Microsoft\n" +
- "Windows) use local time.\n" +
- "Machines that have only Linux installed are usually\n" +
- "set to Universal Time Coordinated (UTC).\n" +
- "If the hardware clock is set to UTC, your system can switch
from standard time\n" +
- "to daylight saving time and back automatically.\n" +
- "</p>\n"
- )
- )
-
- # help text: extra note about localtim
- help_text = Ops.add(
- help_text,
- _(
- "<p>\n" +
- "Note: The internal system clock as used by the Linux kernel
must\n" +
- "always be in UTC, because this is the reference for the correct
localtime\n" +
- "in user space. If you are choosing localtime for CMOS clock,\n"
+
- "check the user manual for background information about side
effects.\n" +
- "</p>"
- )
- )
- end


if !Arch.s390 && !Mode.config
@@ -823,9 +856,9 @@
Wizard.SetDesktopTitleAndIcon("timezone")
end

- hwclock_s = hwclock == "-u" ? :hwclock_utc : :hwclock_localtime
- hwclock_s_old = hwclock_s
- @hwclock_s_initial = hwclock_s
+ @hwclock_s = hwclock == "-u" ? :hwclock_utc : :hwclock_localtime
+ hwclock_s_old = @hwclock_s
+ @hwclock_s_initial = @hwclock_s

show_selected_region.call(sel, timezone)
if timezone_selector
@@ -856,7 +889,7 @@
timezone = tz
changed_time = true if timezone != timezone_old
timezone_old = timezone
- SetTimezone(hwclock_s, timezone, false, changed_time)
+ SetTimezone(@hwclock_s, timezone, false, changed_time)
end
if timezone_selector
UI.ChangeWidget(Id(:timezonemap), :CurrentItem, timezone)
@@ -870,7 +903,7 @@
timezone = tz
changed_time = true if timezone != timezone_old
timezone_old = timezone
- SetTimezone(hwclock_s, timezone, false, changed_time)
+ SetTimezone(@hwclock_s, timezone, false, changed_time)
end
end
if SetTimeDialog()
@@ -892,38 +925,6 @@
end
elsif ret == :next || ret == :timezone || ret == :timezonemap ||
ret == :hwclock
- # Get current settings.
- # UTC vs. localtime, only if needed
- #
- hwclock_s = :hwclock_utc
- if !utc_only
- hwclock_s = Convert.to_boolean(UI.QueryWidget(Id(:hwclock),
:Value)) ?
- :hwclock_utc :
- :hwclock_localtime
-
- if ret == :next && !Timezone.windows_partition &&
- hwclock_s == :hwclock_localtime
- # warning popup, in case local time is selected (bnc#732769)
- if !Popup.ContinueCancel(
- _(
- "\n" +
- "You selected local time, but only Linux seems to be
installed on your system.\n" +
- "In such case, it is strongly recommended to use UTC,
and to click Cancel.\n" +
- "\n" +
- "If you want to keep local time, you must adjust the
CMOS clock twice the year\n" +
- "because of Day Light Saving switches. If you miss to
adjust the clock, backups may fail,\n" +
- "your mail system may drop mail messages, etc.\n" +
- "\n" +
- "If you use UTC, Linux will adjust the time
automatically.\n" +
- "\n" +
- "Do you want to continue with your selection (local
time)?"
- )
- )
- ret = :not_next
- next
- end
- end
- end
if ret == :timezonemap
timezone = Convert.to_string(
UI.QueryWidget(Id(:timezonemap), :Value)
@@ -958,12 +959,12 @@
end
Builtins.y2milestone("timezone %1 ret %2", timezone, ret)

- if timezone != timezone_old || hwclock_s != hwclock_s_old ||
+ if timezone != timezone_old || @hwclock_s != hwclock_s_old ||
ret == :next
changed_time = true if timezone != timezone_old
timezone_old = timezone
- hwclock_s_old = hwclock_s
- SetTimezone(hwclock_s, timezone, ret == :next, changed_time)
+ hwclock_s_old = @hwclock_s
+ SetTimezone(@hwclock_s, timezone, ret == :next, changed_time)
end

if ret == :next
@@ -975,8 +976,8 @@
Timezone.ntp_used = @ntp_used
# See bnc#638185c5: refresh_initrd should be called if HWCLOCK is
changed (--localtime <-> --utc) and/or
# if --localtime is set and TIMEZONE will be changed.
- if hwclock_s != @hwclock_s_initial ||
- hwclock_s == :hwclock_localtime && timezone != timezone_initial
+ if @hwclock_s != @hwclock_s_initial ||
+ @hwclock_s == :hwclock_localtime && timezone !=
timezone_initial
Timezone.call_mkinitrd = true
end


continue with "q"...


Checked in at Mon Jan 27 16:08:06 CET 2014 by ro

Remember to have fun...

--
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: yast-devel+owner@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages