Hello community,
here is the log from the commit of package yast2-update for openSUSE:Factory checked in at 2014-04-05 14:42:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-update (Old)
and /work/SRC/openSUSE:Factory/.yast2-update.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-update"
Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-update/yast2-update.changes 2013-12-23 22:21:49.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.yast2-update.new/yast2-update.changes 2014-04-05 14:42:53.000000000 +0200
@@ -1,0 +2,15 @@
+Fri Mar 28 15:02:22 CET 2014 - locilka@suse.com
+
+- Fixed loading kernel modules while probing disks (bnc#869091)
+- 3.1.4
+
+-------------------------------------------------------------------
+Thu Mar 27 15:25:48 CET 2014 - locilka@suse.com
+
+- Re-added SUSERelease library to read product information from
+ /etc/SuSE-release (bnc#869091)
+- Using OSRelease (and then SUSERelease as a fallback) to
+ find out the name of the installed system (bnc#869091)
+- 3.1.3
+
+-------------------------------------------------------------------
Old:
----
yast2-update-3.1.2.tar.bz2
New:
----
yast2-update-3.1.4.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-update.spec ++++++
--- /var/tmp/diff_new_pack.aXe6cz/_old 2014-04-05 14:42:53.000000000 +0200
+++ /var/tmp/diff_new_pack.aXe6cz/_new 2014-04-05 14:42:53.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package yast2-update
#
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,14 +17,17 @@
Name: yast2-update
-Version: 3.1.2
+Version: 3.1.4
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: %{name}-%{version}.tar.bz2
BuildRequires: update-desktop-files
+BuildRequires: yast2 >= 3.1.28
BuildRequires: yast2-devtools >= 3.1.15
+BuildRequires: yast2-packager
+BuildRequires: yast2-ruby-bindings >= 1.0.0
# xmllint
BuildRequires: libxml2-tools
@@ -32,10 +35,13 @@
# control.rng
BuildRequires: yast2-installation-control
+# Needed for tests
+BuildRequires: rubygem-rspec
+
# Stroage::ChangeDmNamesFromCrypttab
Requires: yast2-storage >= 2.22.9
# OSRelease
-Requires: yast2 >= 3.0.4
+Requires: yast2 >= 3.1.28
Requires: yast2-installation
# Function SelectKernelPackages has been moved to Packages module (bnc #326269).
Requires: yast2-packager >= 2.17.27
++++++ yast2-update-3.1.2.tar.bz2 -> yast2-update-3.1.4.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-update-3.1.2/package/yast2-update.changes new/yast2-update-3.1.4/package/yast2-update.changes
--- old/yast2-update-3.1.2/package/yast2-update.changes 2013-12-19 13:27:43.000000000 +0100
+++ new/yast2-update-3.1.4/package/yast2-update.changes 2014-03-28 15:53:02.000000000 +0100
@@ -1,4 +1,19 @@
-------------------------------------------------------------------
+Fri Mar 28 15:02:22 CET 2014 - locilka@suse.com
+
+- Fixed loading kernel modules while probing disks (bnc#869091)
+- 3.1.4
+
+-------------------------------------------------------------------
+Thu Mar 27 15:25:48 CET 2014 - locilka@suse.com
+
+- Re-added SUSERelease library to read product information from
+ /etc/SuSE-release (bnc#869091)
+- Using OSRelease (and then SUSERelease as a fallback) to
+ find out the name of the installed system (bnc#869091)
+- 3.1.3
+
+-------------------------------------------------------------------
Wed Dec 18 12:44:15 UTC 2013 - lslezak@suse.cz
- updated BuildRequires: RNG schema for control files has been
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-update-3.1.2/package/yast2-update.spec new/yast2-update-3.1.4/package/yast2-update.spec
--- old/yast2-update-3.1.2/package/yast2-update.spec 2013-12-19 13:27:43.000000000 +0100
+++ new/yast2-update-3.1.4/package/yast2-update.spec 2014-03-28 15:53:02.000000000 +0100
@@ -17,7 +17,7 @@
Name: yast2-update
-Version: 3.1.2
+Version: 3.1.4
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -27,6 +27,9 @@
License: GPL-2.0
BuildRequires: update-desktop-files
BuildRequires: yast2-devtools >= 3.1.15
+BuildRequires: yast2-ruby-bindings >= 1.0.0
+BuildRequires: yast2 >= 3.1.28
+BuildRequires: yast2-packager
# xmllint
BuildRequires: libxml2-tools
@@ -34,10 +37,13 @@
# control.rng
BuildRequires: yast2-installation-control
+# Needed for tests
+BuildRequires: rubygem-rspec
+
# Stroage::ChangeDmNamesFromCrypttab
Requires: yast2-storage >= 2.22.9
# OSRelease
-Requires: yast2 >= 3.0.4
+Requires: yast2 >= 3.1.28
Requires: yast2-installation
# Function SelectKernelPackages has been moved to Packages module (bnc #326269).
Requires: yast2-packager >= 2.17.27
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-update-3.1.2/src/Makefile.am new/yast2-update-3.1.4/src/Makefile.am
--- old/yast2-update-3.1.2/src/Makefile.am 2013-12-19 13:27:43.000000000 +0100
+++ new/yast2-update-3.1.4/src/Makefile.am 2014-03-28 15:53:02.000000000 +0100
@@ -2,7 +2,8 @@
module_DATA = \
modules/Update.rb \
- modules/RootPart.rb
+ modules/RootPart.rb \
+ modules/SUSERelease.rb
client_DATA = \
clients/inst_rootpart.rb \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-update-3.1.2/src/modules/RootPart.rb new/yast2-update-3.1.4/src/modules/RootPart.rb
--- old/yast2-update-3.1.2/src/modules/RootPart.rb 2013-12-19 13:27:43.000000000 +0100
+++ new/yast2-update-3.1.4/src/modules/RootPart.rb 2014-03-28 15:53:02.000000000 +0100
@@ -44,7 +44,6 @@
Yast.import "ModuleLoading"
Yast.import "FileSystems"
Yast.import "Update"
- Yast.import "OSRelease"
Yast.import "FileUtils"
Yast.import "Arch"
Yast.import "String"
@@ -1962,13 +1961,9 @@
end
# Get installed release name
- release = OSRelease.ReleaseInformation(Installation.destdir)
- Builtins.y2debug("release: %1", release)
- if release == "?"
- # label for an unknown installed system
- release = _("Unknown")
- end
- Ops.set(freshman, :name, release)
+ # TRANSLATORS: label for an unknown installed system
+ freshman[:name] = Update.installed_product || _("Unknown")
+ Builtins.y2debug("release: %1", freshman[:name])
# Right architecture?
Ops.set(
@@ -2049,35 +2044,24 @@
def FindRootPartitions
return if @didSearchForRootPartitions
- ModuleLoading.Load(
- "reiserfs",
- "",
- "Linux",
- "Reiser FS",
- Linuxrc.manual,
- true
- )
- ModuleLoading.Load("jfs", "", "Linux", "JFS", Linuxrc.manual, true)
- ModuleLoading.Load("xfs", "", "Linux", "XFS", Linuxrc.manual, true)
- ModuleLoading.Load("ext3", "", "Linux", "Ext3", Linuxrc.manual, true)
- ModuleLoading.Load("ext4", "", "Linux", "Ext4", Linuxrc.manual, true)
- ModuleLoading.Load("btrfs", "", "Linux", "BtrFS", Linuxrc.manual, true)
- ModuleLoading.Load("raid0", "", "Linux", "Raid 0", Linuxrc.manual, true)
- ModuleLoading.Load("raid1", "", "Linux", "Raid 1", Linuxrc.manual, true)
- ModuleLoading.Load("raid5", "", "Linux", "Raid 5", Linuxrc.manual, true)
- ModuleLoading.Load("raid6", "", "Linux", "Raid 6", Linuxrc.manual, true)
- ModuleLoading.Load("raid10", "", "Linux", "Raid 10", Linuxrc.manual, true)
- ModuleLoading.Load(
- "multipath",
- "",
- "Linux",
- "Multipath",
- Linuxrc.manual,
- true
- )
- ModuleLoading.Load("dm-mod", "", "Linux", "DM", Linuxrc.manual, true)
- SCR.Execute(path(".target.bash"), "/sbin/devmap_mknod.sh")
- ModuleLoading.Load("dm-snapshot", "", "Linux", "DM", Linuxrc.manual, true)
+ modules_to_load = {
+ "reiserfs" => "Reiser FS",
+ "xfs" => "XFS",
+ "ext3" => "Ext3",
+ "ext4" => "Ext4",
+ "btrfs" => "BtrFS",
+ "raid0" => "Raid 0",
+ "raid1" => "Raid 1",
+ "raid5" => "Raid 5",
+ "raid6" => "Raid 6",
+ "raid10" => "Raid 10",
+ "dm-multipath" => "Multipath",
+ "dm-mod" => "DM",
+ "dm-snapshot" => "DM Snapshot",
+ }
+ modules_to_load.each do |module_to_load, show_name|
+ ModuleLoading.Load(module_to_load, "", "Linux", show_name, Linuxrc.manual, true)
+ end
if Mode.test
Storage.SetTargetMap(
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-update-3.1.2/src/modules/SUSERelease.rb new/yast2-update-3.1.4/src/modules/SUSERelease.rb
--- old/yast2-update-3.1.2/src/modules/SUSERelease.rb 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-update-3.1.4/src/modules/SUSERelease.rb 2014-03-28 15:53:02.000000000 +0100
@@ -0,0 +1,91 @@
+# 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.
+# ------------------------------------------------------------------------------
+
+# Module: SUSERelease.rb
+#
+# Authors: Lukas Ocilka