Hello community,
here is the log from the commit of package yast2-installation for openSUSE:Factory checked in at 2014-06-26 08:00:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-installation (Old)
and /work/SRC/openSUSE:Factory/.yast2-installation.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-installation"
Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-installation/yast2-installation.changes 2014-06-06 14:36:34.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.yast2-installation.new/yast2-installation.changes 2014-06-26 08:00:43.000000000 +0200
@@ -1,0 +2,54 @@
+Mon Jun 23 16:09:32 CEST 2014 - locilka@suse.com
+
+- Changed /bin/rm path to /usr/bin/rm path (bnc#882453)
+- 3.1.96
+
+-------------------------------------------------------------------
+Mon Jun 23 13:02:27 UTC 2014 - jreidinger@suse.com
+
+- directly export autoyast profile to target file (bnc#881108)
+- 3.1.95
+
+-------------------------------------------------------------------
+Thu Jun 19 19:05:10 UTC 2014 - lslezak@suse.cz
+
+- removed random_finish client, haveged service is by default
+ enabled, no need for explicit enabling by Yast
+ (gh#yast/yast-installation#214)
+- 3.1.94
+
+-------------------------------------------------------------------
+Wed Jun 18 11:47:26 UTC 2014 - lslezak@suse.cz
+
+- make sure the CIO ignore config file ends with a new line
+ (bnc#883198)
+- 3.1.93
+
+-------------------------------------------------------------------
+Tue Jun 17 12:34:33 UTC 2014 - lslezak@suse.cz
+
+- inst_upgrade_urls.rb: set the future target distribution to not
+ ignore the SCC online repositories in libzypp (bnc#881320)
+- 3.1.92
+
+-------------------------------------------------------------------
+Mon Jun 16 12:33:18 UTC 2014 - jreidinger@suse.com
+
+- write list of active devices for cio_ignore ( partially written
+ by Ihno )
+- 3.1.91
+
+-------------------------------------------------------------------
+Thu Jun 12 15:20:04 UTC 2014 - jreidinger@suse.com
+
+- restore backup if yast failed during installation/upgrade
+ (bnc#882039)
+- 3.1.90
+
+-------------------------------------------------------------------
+Thu Jun 12 08:27:01 UTC 2014 - lslezak@suse.cz
+
+- properly enable the add-on module in the installation workflow
+- 3.1.89
+
+-------------------------------------------------------------------
Old:
----
yast2-installation-3.1.88.tar.bz2
New:
----
yast2-installation-3.1.96.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-installation.spec ++++++
--- /var/tmp/diff_new_pack.v9awje/_old 2014-06-26 08:00:44.000000000 +0200
+++ /var/tmp/diff_new_pack.v9awje/_new 2014-06-26 08:00:44.000000000 +0200
@@ -17,7 +17,7 @@
Name: yast2-installation
-Version: 3.1.88
+Version: 3.1.96
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
++++++ YaST2-Firstboot.service ++++++
--- /var/tmp/diff_new_pack.v9awje/_old 2014-06-26 08:00:44.000000000 +0200
+++ /var/tmp/diff_new_pack.v9awje/_new 2014-06-26 08:00:44.000000000 +0200
@@ -9,7 +9,7 @@
Environment=SYSTEMCTL_OPTIONS=--ignore-dependencies TERM=linux
ExecStartPre=-/usr/bin/plymouth --hide-splash
ExecStart=/usr/lib/YaST2/startup/YaST2.Firstboot
-ExecStartPost=/bin/rm -f /var/lib/YaST2/reconfig_system
+ExecStartPost=/usr/bin/rm -f /var/lib/YaST2/reconfig_system
ExecStartPost=/usr/bin/systemctl restart systemd-vconsole-setup.service
TimeoutSec=0
RemainAfterExit=true
++++++ YaST2-Second-Stage.service ++++++
--- /var/tmp/diff_new_pack.v9awje/_old 2014-06-26 08:00:44.000000000 +0200
+++ /var/tmp/diff_new_pack.v9awje/_new 2014-06-26 08:00:44.000000000 +0200
@@ -11,7 +11,7 @@
ExecStart=/usr/lib/YaST2/startup/YaST2.Second-Stage
RemainAfterExit=yes
TimeoutSec=0
-ExecStartPost=/bin/rm -f /var/lib/YaST2/runme_at_boot
+ExecStartPost=/usr/bin/rm -f /var/lib/YaST2/runme_at_boot
ExecStartPost=/usr/bin/systemctl restart systemd-vconsole-setup.service
StandardInput=tty
++++++ yast2-installation-3.1.88.tar.bz2 -> yast2-installation-3.1.96.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-3.1.88/package/YaST2-Firstboot.service new/yast2-installation-3.1.96/package/YaST2-Firstboot.service
--- old/yast2-installation-3.1.88/package/YaST2-Firstboot.service 2014-06-03 17:10:28.000000000 +0200
+++ new/yast2-installation-3.1.96/package/YaST2-Firstboot.service 2014-06-24 14:34:58.000000000 +0200
@@ -9,7 +9,7 @@
Environment=SYSTEMCTL_OPTIONS=--ignore-dependencies TERM=linux
ExecStartPre=-/usr/bin/plymouth --hide-splash
ExecStart=/usr/lib/YaST2/startup/YaST2.Firstboot
-ExecStartPost=/bin/rm -f /var/lib/YaST2/reconfig_system
+ExecStartPost=/usr/bin/rm -f /var/lib/YaST2/reconfig_system
ExecStartPost=/usr/bin/systemctl restart systemd-vconsole-setup.service
TimeoutSec=0
RemainAfterExit=true
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-3.1.88/package/YaST2-Second-Stage.service new/yast2-installation-3.1.96/package/YaST2-Second-Stage.service
--- old/yast2-installation-3.1.88/package/YaST2-Second-Stage.service 2014-06-03 17:10:28.000000000 +0200
+++ new/yast2-installation-3.1.96/package/YaST2-Second-Stage.service 2014-06-24 14:34:58.000000000 +0200
@@ -11,7 +11,7 @@
ExecStart=/usr/lib/YaST2/startup/YaST2.Second-Stage
RemainAfterExit=yes
TimeoutSec=0
-ExecStartPost=/bin/rm -f /var/lib/YaST2/runme_at_boot
+ExecStartPost=/usr/bin/rm -f /var/lib/YaST2/runme_at_boot
ExecStartPost=/usr/bin/systemctl restart systemd-vconsole-setup.service
StandardInput=tty
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-3.1.88/package/yast2-installation.changes new/yast2-installation-3.1.96/package/yast2-installation.changes
--- old/yast2-installation-3.1.88/package/yast2-installation.changes 2014-06-03 17:10:28.000000000 +0200
+++ new/yast2-installation-3.1.96/package/yast2-installation.changes 2014-06-24 14:34:58.000000000 +0200
@@ -1,4 +1,58 @@
-------------------------------------------------------------------
+Mon Jun 23 16:09:32 CEST 2014 - locilka@suse.com
+
+- Changed /bin/rm path to /usr/bin/rm path (bnc#882453)
+- 3.1.96
+
+-------------------------------------------------------------------
+Mon Jun 23 13:02:27 UTC 2014 - jreidinger@suse.com
+
+- directly export autoyast profile to target file (bnc#881108)
+- 3.1.95
+
+-------------------------------------------------------------------
+Thu Jun 19 19:05:10 UTC 2014 - lslezak@suse.cz
+
+- removed random_finish client, haveged service is by default
+ enabled, no need for explicit enabling by Yast
+ (gh#yast/yast-installation#214)
+- 3.1.94
+
+-------------------------------------------------------------------
+Wed Jun 18 11:47:26 UTC 2014 - lslezak@suse.cz
+
+- make sure the CIO ignore config file ends with a new line
+ (bnc#883198)
+- 3.1.93
+
+-------------------------------------------------------------------
+Tue Jun 17 12:34:33 UTC 2014 - lslezak@suse.cz
+
+- inst_upgrade_urls.rb: set the future target distribution to not
+ ignore the SCC online repositories in libzypp (bnc#881320)
+- 3.1.92
+
+-------------------------------------------------------------------
+Mon Jun 16 12:33:18 UTC 2014 - jreidinger@suse.com
+
+- write list of active devices for cio_ignore ( partially written
+ by Ihno )
+- 3.1.91
+
+-------------------------------------------------------------------
+Thu Jun 12 15:20:04 UTC 2014 - jreidinger@suse.com
+
+- restore backup if yast failed during installation/upgrade
+ (bnc#882039)
+- 3.1.90
+
+-------------------------------------------------------------------
+Thu Jun 12 08:27:01 UTC 2014 - lslezak@suse.cz
+
+- properly enable the add-on module in the installation workflow
+- 3.1.89
+
+-------------------------------------------------------------------
Tue Jun 3 13:53:15 UTC 2014 - lslezak@suse.cz
- inst_upgrade_urls.rb client:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-3.1.88/package/yast2-installation.spec new/yast2-installation-3.1.96/package/yast2-installation.spec
--- old/yast2-installation-3.1.88/package/yast2-installation.spec 2014-06-03 17:10:28.000000000 +0200
+++ new/yast2-installation-3.1.96/package/yast2-installation.spec 2014-06-24 14:34:58.000000000 +0200
@@ -17,7 +17,7 @@
Name: yast2-installation
-Version: 3.1.88
+Version: 3.1.96
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-3.1.88/src/Makefile.am new/yast2-installation-3.1.96/src/Makefile.am
--- old/yast2-installation-3.1.88/src/Makefile.am 2014-06-03 17:10:28.000000000 +0200
+++ new/yast2-installation-3.1.96/src/Makefile.am 2014-06-24 14:34:58.000000000 +0200
@@ -62,7 +62,6 @@
clients/pre_umount_finish.rb \
clients/prep_shrink_finish.rb \
clients/proxy_finish.rb \
- clients/random_finish.rb \
clients/save_config_finish.rb \
clients/save_hw_status_finish.rb \
clients/ssh_settings_finish.rb \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-3.1.88/src/clients/clone_proposal.rb new/yast2-installation-3.1.96/src/clients/clone_proposal.rb
--- old/yast2-installation-3.1.88/src/clients/clone_proposal.rb 2014-06-03 17:10:28.000000000 +0200
+++ new/yast2-installation-3.1.96/src/clients/clone_proposal.rb 2014-06-24 14:34:58.000000000 +0200
@@ -74,8 +74,10 @@
if param["force"] || @clone_settings.enabled?
# keep mode, cloning set it to autoinst_config, but we need to continue
# installation with original one(BNC#861520)
+ options = {}
+ options["target_path"] = param["target_path"] if param["target_path"]
mode = Mode.mode
- WFM.call "clone_system"
+ WFM.call("clone_system",[options])
Mode.SetMode(mode)
end
ret = true
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-3.1.88/src/clients/inst_finish.rb new/yast2-installation-3.1.96/src/clients/inst_finish.rb
--- old/yast2-installation-3.1.88/src/clients/inst_finish.rb 2014-06-03 17:10:28.000000000 +0200
+++ new/yast2-installation-3.1.96/src/clients/inst_finish.rb 2014-06-24 14:34:58.000000000 +0200
@@ -157,7 +157,6 @@
# product registration step is optional
WFM.ClientExists("scc_finish") ? "scc" : "",
"driver_update1",
- "random",
# bnc #340733
"system_settings"
],
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-3.1.88/src/clients/inst_proposal.rb new/yast2-installation-3.1.96/src/clients/inst_proposal.rb
--- old/yast2-installation-3.1.88/src/clients/inst_proposal.rb 2014-06-03 17:10:28.000000000 +0200
+++ new/yast2-installation-3.1.96/src/clients/inst_proposal.rb 2014-06-24 14:34:58.000000000 +0200
@@ -222,12 +222,10 @@
# force write, so it always write profile even if user do not want
# to store profile after installation
- WFM.CallFunction("clone_proposal", ["Write", "force" => true])
- if !File.exists?("/root/autoinst.xml")
+ WFM.CallFunction("clone_proposal", ["Write", "force" => true, "target_path" => path])
+ if !File.exists?(path)
raise _("Failed to store configuration. Details can be found in log.")
end
-
- WFM.Execute(path(".local.bash"), "mv -- /root/autoinst.xml '#{String.Quote(path)}'")
when :skip, :dontskip
if Convert.to_boolean(UI.QueryWidget(Id(:skip), :Value))
# User doesn't want to use any of the settings
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-3.1.88/src/clients/inst_upgrade_urls.rb new/yast2-installation-3.1.96/src/clients/inst_upgrade_urls.rb
--- old/yast2-installation-3.1.88/src/clients/inst_upgrade_urls.rb 2014-06-03 17:10:28.000000000 +0200
+++ new/yast2-installation-3.1.96/src/clients/inst_upgrade_urls.rb 2014-06-24 14:34:58.000000000 +0200
@@ -849,7 +849,8 @@
# force reloading the libzypp repomanager to notice the removed files
Pkg.TargetFinish
- Pkg.TargetInitialize(Installation.destdir)
+ Pkg.TargetInitializeOptions(Installation.destdir,
+ "target_distro" => target_distribution)
Pkg.TargetLoad
end
@@ -1300,6 +1301,21 @@
:next
end
+
+ private
+
+ # TODO FIXME: share this code better
+ def target_distribution
+ base_products = Product.FindBaseProducts
+
+ # empty target distribution disables service compatibility check in case
+ # the base product cannot be found
+ target_distro = base_products ? base_products.first["register_target"] : ""
+ log.info "Base product target distribution: #{target_distro}"
+
+ target_distro
+ end
+
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-3.1.88/src/clients/random_finish.rb new/yast2-installation-3.1.96/src/clients/random_finish.rb
--- old/yast2-installation-3.1.88/src/clients/random_finish.rb 2014-06-03 17:10:28.000000000 +0200
+++ new/yast2-installation-3.1.96/src/clients/random_finish.rb 1970-01-01 01:00:00.000000000 +0100
@@ -1,113 +0,0 @@
-# encoding: utf-8
-
-# ------------------------------------------------------------------------------
-# Copyright (c) 2006-2012 Novell, Inc. All Rights Reserved.
-#
-#
-# This program is free software; you can redistribute it and/or modify it under
-# the terms of version 2 of the GNU General Public License as published by the
-# Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# this program; if not, contact Novell, Inc.
-#
-# To contact Novell about this file by physical or electronic mail, you may find
-# current contact information at www.novell.com.
-# ------------------------------------------------------------------------------
-
-# File: random_finish.ycp
-#
-# Module: Handle haveged service and preserve the current randomness state
-#
-# Authors: Lukas Ocilka