Hello community,
here is the log from the commit of package yast2-storage
checked in at Mon Apr 10 16:45:57 CEST 2006.
--------
--- yast2-storage/yast2-storage.changes 2006-04-06 19:00:48.000000000 +0200
+++ STABLE/yast2-storage/yast2-storage.changes 2006-04-10 15:17:39.000000000 +0200
@@ -1,0 +2,10 @@
+Mon Apr 10 11:16:28 CEST 2006 - fehr@suse.de
+
+- correctly handle Cancel button on loop file creation (#163963)
+- automatically use -F 32 on large FAT filesystems
+- prevent destruction of target map if key is not there
+- make proposal on disk used by LVM possible
+- finally fix #159504 for large disks
+- version 2.13.48
+
+-------------------------------------------------------------------
@@ -16 +26 @@
-- prevent failing mount/format due to evms usage of partitions
+- prevent failing mount/format due to evms usage of partitions (#163951)
Old:
----
yast2-storage-2.13.47.tar.bz2
New:
----
yast2-storage-2.13.48.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-storage.spec ++++++
--- /var/tmp/diff_new_pack.Zif96M/_old 2006-04-10 16:44:16.000000000 +0200
+++ /var/tmp/diff_new_pack.Zif96M/_new 2006-04-10 16:44:16.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-storage (Version 2.13.47)
+# spec file for package yast2-storage (Version 2.13.48)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -11,12 +11,12 @@
# norootforbuild
Name: yast2-storage
-Version: 2.13.47
+Version: 2.13.48
Release: 1
License: GPL
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-storage-2.13.47.tar.bz2
+Source0: yast2-storage-2.13.48.tar.bz2
prefix: /usr
BuildRequires: blocxx-devel docbook-xsl-stylesheets doxygen evms gcc-c++ libxcrypt-devel libxslt openssl-devel perl-XML-Writer sablot sgml-skel swig update-desktop-files yast2 yast2-devtools yast2-installation yast2-perl-bindings yast2-testsuite
Requires: yast2 parted yast2-installation yast2-storage-lib yast2-perl-bindings
@@ -40,7 +40,7 @@
%prep
-%setup -n yast2-storage-2.13.47
+%setup -n yast2-storage-2.13.48
%build
%{prefix}/bin/y2tool y2autoconf
@@ -164,6 +164,13 @@
%doc %{prefix}/share/doc/packages/yast2-storage/libstorage
%changelog -n yast2-storage
+* Mon Apr 10 2006 - fehr@suse.de
+- correctly handle Cancel button on loop file creation (#163963)
+- automatically use -F 32 on large FAT filesystems
+- prevent destruction of target map if key is not there
+- make proposal on disk used by LVM possible
+- finally fix #159504 for large disks
+- version 2.13.48
* Thu Apr 06 2006 - fehr@suse.de
- fix usage of whole disk in EVMS after removal of disk label (#162945)
- fix problems during enlarging logical partitions (#162766, #162995)
@@ -174,7 +181,7 @@
- version 2.13.47
* Wed Apr 05 2006 - fehr@suse.de
- fix missing creation of boot partition in proposal (#163387)
-- prevent failing mount/format due to evms usage of partitions
+- prevent failing mount/format due to evms usage of partitions (#163951)
- prevent redundant activations of evms entities
- do not use options acl,user_xattr for xfs (#163658)
- fix problem when sharing EVMS container and normal filesystem
++++++ yast2-storage-2.13.47.tar.bz2 -> yast2-storage-2.13.48.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-storage-2.13.47/VERSION new/yast2-storage-2.13.48/VERSION
--- old/yast2-storage-2.13.47/VERSION 2006-04-06 16:07:45.000000000 +0200
+++ new/yast2-storage-2.13.48/VERSION 2006-04-10 11:16:56.000000000 +0200
@@ -1 +1 @@
-2.13.47
+2.13.48
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-storage-2.13.47/libstorage/src/Volume.cc new/yast2-storage-2.13.48/libstorage/src/Volume.cc
--- old/yast2-storage-2.13.47/libstorage/src/Volume.cc 2006-04-05 17:17:16.000000000 +0200
+++ new/yast2-storage-2.13.48/libstorage/src/Volume.cc 2006-04-10 13:52:47.000000000 +0200
@@ -670,6 +670,10 @@
list<string> l=splitString( mkfs_opt );
if( find_if( l.begin(), l.end(), find_begin( "-F" ) ) != l.end())
params = "-F 32";
+ else if( sizeK()>2*1024*1024 )
+ {
+ params += " -F 32";
+ }
break;
}
case JFS:
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-storage-2.13.47/storage/src/include/do_proposal_flexible.ycp new/yast2-storage-2.13.48/storage/src/include/do_proposal_flexible.ycp
--- old/yast2-storage-2.13.47/storage/src/include/do_proposal_flexible.ycp 2006-04-05 10:46:45.000000000 +0200
+++ new/yast2-storage-2.13.48/storage/src/include/do_proposal_flexible.ycp 2006-04-10 13:34:20.000000000 +0200
@@ -14,7 +14,7 @@
*
*************************************************************
- $Id: do_proposal_flexible.ycp 29699 2006-04-05 08:46:42Z fehr $
+ $Id: do_proposal_flexible.ycp 29913 2006-04-10 11:34:17Z fehr $
*/
{
@@ -1190,8 +1190,10 @@
integer scount = 0;
y2milestone( "distribute_space rest %1 weights %2 added %3", rest,
weights, added );
+ integer loopcount=0;
do
{
+ loopcount = loopcount+1;
index = 0;
sum = 0;
scount = 0;
@@ -1209,8 +1211,8 @@
index = index+1;
});
index = 0;
- y2milestone( "distribute_space sum %1 rest %2 scount %3 added %4",
- sum, rest, scount, added );
+ y2milestone( "distribute_space sum %1 rest %2 scount %3 added %4 lc %5",
+ sum, rest, scount, added, loopcount );
foreach( list p, (list<list>)added,
``{
pindex = p[0]:0;
@@ -1234,7 +1236,7 @@
index = index+1;
});
}
- while( rest>0 && scount>0 && sum>0 );
+ while( rest>0 && scount>0 && loopcount<3 );
map ret = $[ "added":added, "diff" : diff_sum ];
y2milestone( "distribute_space ret %1", ret );
return( ret );
@@ -2321,6 +2323,7 @@
if( mode == `desparate )
{
ddev = get_disk_try_list( target, false );
+ valid = listmap( string s, ddev, ``($[s:true]));
target = prepare_part_lists( ddev, target );
foreach( string s, ddev,
``{
@@ -2617,6 +2620,17 @@
ret["ok"] = size(sol_disk)>0;
if( ret["ok"]:false )
{
+ string uby = ret["target",sol_disk,"used_by"]:"";
+ y2milestone( "get_inst_proposal uby %1", uby );
+ if( size(uby)>0 )
+ {
+ string k = "/dev/"+uby;
+ if( haskey( ret["target"]:$[], k ))
+ {
+ ret["target",k,"delete"] = true;
+ y2milestone( "get_inst_proposal uby %1", ret["target",k]:$[] );
+ }
+ }
ret["target",sol_disk] = solution[sol_disk]:$[];
ret["target"] = Storage::SpecialBootHandling( ret["target"]:$[] );
y2milestone( "get_inst_proposal sol:%1", ret["target",sol_disk]:$[] );
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-storage-2.13.47/storage/src/include/loop.ycp new/yast2-storage-2.13.48/storage/src/include/loop.ycp
--- old/yast2-storage-2.13.47/storage/src/include/loop.ycp 2006-04-03 18:28:11.000000000 +0200
+++ new/yast2-storage-2.13.48/storage/src/include/loop.ycp 2006-04-10 15:17:59.000000000 +0200
@@ -11,7 +11,7 @@
* Authors:
* Thomas Fehr