Hello community,
here is the log from the commit of package yast2-update
checked in at Wed Nov 5 18:23:32 CET 2008.
--------
--- yast2-update/yast2-update.changes 2008-10-29 14:51:53.000000000 +0100
+++ /mounts/work_src_done/STABLE/yast2-update/yast2-update.changes 2008-11-04 11:34:05.000000000 +0100
@@ -1,0 +2,7 @@
+Tue Nov 4 11:32:57 CET 2008 - locilka@suse.cz
+
+- Making obvious (in log) why a partition is marked 'not-valid'
+ (bnc #441378)
+- 2.17.10
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
yast2-update-2.17.9.tar.bz2
New:
----
yast2-update-2.17.10.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-update.spec ++++++
--- /var/tmp/diff_new_pack.y17245/_old 2008-11-05 18:23:22.000000000 +0100
+++ /var/tmp/diff_new_pack.y17245/_new 2008-11-05 18:23:22.000000000 +0100
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-update (Version 2.17.9)
+# spec file for package yast2-update (Version 2.17.10)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -19,12 +19,12 @@
Name: yast2-update
-Version: 2.17.9
+Version: 2.17.10
Release: 1
License: GPL v2 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-update-2.17.9.tar.bz2
+Source0: yast2-update-2.17.10.tar.bz2
Prefix: /usr
BuildRequires: perl-XML-Writer update-desktop-files yast2-devtools yast2-storage yast2-testsuite
# Packages::GetBaseSourceID
@@ -83,7 +83,7 @@
Jiri Srain
%prep
-%setup -n yast2-update-2.17.9
+%setup -n yast2-update-2.17.10
%build
%{prefix}/bin/y2tool y2autoconf
@@ -131,6 +131,10 @@
/usr/share/YaST2/clients/update.ycp
/usr/share/YaST2/clients/run_update.ycp
%changelog
+* Tue Nov 04 2008 locilka@suse.cz
+- Making obvious (in log) why a partition is marked 'not-valid'
+ (bnc #441378)
+- 2.17.10
* Wed Oct 29 2008 locilka@suse.cz
- Extended agent reading fstab files (bnc #438129).
- 2.17.9
@@ -875,7 +879,7 @@
* Mon Mar 17 2003 kkaempf@suse.de
- if no product can be determined, use /etc/*-release
- 2.7.11
-* Sun Mar 16 2003 kkaempf@suse.de
+* Sat Mar 15 2003 kkaempf@suse.de
- move the "seen_details" flag to the global Update module (#24927)
- 2.7.10
* Fri Mar 14 2003 kkaempf@suse.de
@@ -933,7 +937,7 @@
a different fstab.
- show installed product if called from running system.
- 2.6.16
-* Thu Sep 12 2002 kkaempf@suse.de
+* Wed Sep 11 2002 kkaempf@suse.de
- implement save/restore for package selection
* Wed Sep 11 2002 kkaempf@suse.de
- neutralize "cups" during update
@@ -941,7 +945,7 @@
* Wed Sep 11 2002 kkaempf@suse.de
- fix syntax error
- 2.6.14
-* Wed Sep 11 2002 kkaempf@suse.de
+* Tue Sep 10 2002 kkaempf@suse.de
- pass "update_installed_only" to solver
- 2.6.12
* Tue Sep 10 2002 arvin@suse.de
++++++ yast2-update-2.17.9.tar.bz2 -> yast2-update-2.17.10.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-update-2.17.9/src/modules/RootPart.ycp new/yast2-update-2.17.10/src/modules/RootPart.ycp
--- old/yast2-update-2.17.9/src/modules/RootPart.ycp 2008-10-29 14:52:47.000000000 +0100
+++ new/yast2-update-2.17.10/src/modules/RootPart.ycp 2008-11-04 11:34:26.000000000 +0100
@@ -6,7 +6,7 @@
* Purpose: Responsible for searching of root partitions and
* mounting of target partitions.
*
- * $Id: RootPart.ycp 52669 2008-10-29 13:52:57Z locilka $
+ * $Id: RootPart.ycp 52872 2008-11-04 10:34:42Z locilka $
*/
{
module "RootPart";
@@ -1430,7 +1430,7 @@
y2warning ("Cannot find / entry in fstab %1", fstab);
}
- boolean ok = size(fstab[0,"spec"]:"")>0 &&
+ freshman[`valid] = size(fstab[0,"spec"]:"")>0 &&
Storage::DeviceMatchFstab( p_dev,
// bugzilla #304269
// DeviceMatchFstab expects _old_ not _translated_ device
@@ -1439,12 +1439,10 @@
// Why this doesn't match?
// Possible reasons:
// - /var not mounted so hwinfo cannot translate device names
- if (ok != true) {
+ if (freshman[`valid]:false != true) {
y2warning ("Device does not match fstab: '%1' vs. '%2'", p_dev, fstab[0,"spec"]:"");
}
- freshman[`valid] = ok;
-
// Get installed release name
string release = SuSERelease::ReleaseInformation
(Installation::destdir);
@@ -1462,7 +1460,9 @@
// `arch_valid, see bugzilla #288201
// installed /bin/bash and the one from inst-sys are matching
if (freshman[`arch]:"unknown" == instsys_arch) {
- freshman[`arch_valid] = ok;
+ y2milestone ("Arcitecture (%1) is valid", instsys_arch);
+ freshman[`arch_valid] = true;
+
// both are PPC, bugzilla #249791
} else if (
contains(["ppc", "ppc64"], freshman[`arch]:"unknown")
@@ -1471,11 +1471,19 @@
) {
y2milestone ("Architecture for partition %1 is %2, upgrading %3", p_dev, freshman[`arch]:"unknown", instsys_arch);
freshman[`arch_valid] = true;
+
+ // Architecture is not matching
} else {
y2milestone ("Architecture for partition %1 is %2, upgrading %3", p_dev, freshman[`arch]:"unknown", instsys_arch);
freshman[`arch_valid] = false;
}
+ // If architecture is not matching, the whole partition is considered to be wrong
+ if (freshman[`arch_valid]:false != true) {
+ y2milestone ("Architecture is not valid -> the whole partition is not valid");
+ freshman[`valid] = false;
+ }
+
y2milestone ("Partition is valid: %1, arch is valid: %2", freshman[`valid]:false, freshman[`arch_valid]:false);
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-update-2.17.9/VERSION new/yast2-update-2.17.10/VERSION
--- old/yast2-update-2.17.9/VERSION 2008-10-29 14:52:04.000000000 +0100
+++ new/yast2-update-2.17.10/VERSION 2008-11-04 11:34:19.000000000 +0100
@@ -1 +1 @@
-2.17.9
+2.17.10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org