Hello community,
here is the log from the commit of package yast2-storage for openSUSE:Factory
checked in at Mon Sep 27 15:48:48 CEST 2010.
--------
--- yast2-storage/yast2-storage.changes 2010-09-13 11:43:29.000000000 +0200
+++ /mounts/work_src_done/STABLE/yast2-storage/yast2-storage.changes 2010-09-27 11:26:18.000000000 +0200
@@ -1,0 +2,12 @@
+Thu Sep 23 12:33:40 CEST 2010 - aschnell@suse.de
+
+- do not allow resizing of VFAT on logical volumes
+- 2.20.3
+
+-------------------------------------------------------------------
+Mon Sep 13 14:36:20 CEST 2010 - fehr@suse.de
+
+- add helptext for partition alignment (bnc#637223)
+- add sector size to disk overview data
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
yast2-storage-2.20.2.tar.bz2
New:
----
yast2-storage-2.20.3.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-storage.spec ++++++
--- /var/tmp/diff_new_pack.jzqgPX/_old 2010-09-27 15:47:38.000000000 +0200
+++ /var/tmp/diff_new_pack.jzqgPX/_new 2010-09-27 15:47:38.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-storage (Version 2.20.2)
+# spec file for package yast2-storage (Version 2.20.3)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -19,11 +19,11 @@
Name: yast2-storage
-Version: 2.20.2
+Version: 2.20.3
Release: 1
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-storage-2.20.2.tar.bz2
+Source0: yast2-storage-2.20.3.tar.bz2
Prefix: /usr
@@ -31,7 +31,7 @@
License: GPLv2+
BuildRequires: blocxx-devel boost-devel gcc-c++ libxcrypt-devel openssl-devel sablot swig
BuildRequires: docbook-xsl-stylesheets doxygen libxslt perl-XML-Writer sgml-skel update-desktop-files
-BuildRequires: libstorage-devel >= 2.20.1 yast2 >= 2.19.4 yast2-core-devel >= 2.18.1 yast2-devtools
+BuildRequires: libstorage-devel >= 2.20.3 yast2 >= 2.19.4 yast2-core-devel >= 2.18.1 yast2-devtools
BuildRequires: yast2-perl-bindings yast2-testsuite >= 2.19.0
Requires: libstorage = %(echo `rpm -q --queryformat '%{VERSION}' libstorage`)
Requires: yast2-perl-bindings perl = %{perl_version}
@@ -56,7 +56,7 @@
devices during installation and on an installed system.
%prep
-%setup -n yast2-storage-2.20.2
+%setup -n yast2-storage-2.20.3
%build
%{prefix}/bin/y2tool y2autoconf
++++++ yast2-storage-2.20.2.tar.bz2 -> yast2-storage-2.20.3.tar.bz2 ++++++
++++ 5226 lines of diff (skipped)
++++ retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-storage-2.20.2/configure.in new/yast2-storage-2.20.3/configure.in
--- old/yast2-storage-2.20.2/configure.in 2010-09-13 11:38:09.000000000 +0200
+++ new/yast2-storage-2.20.3/configure.in 2010-09-27 11:22:13.000000000 +0200
@@ -3,7 +3,7 @@
dnl -- This file is generated by y2autoconf 2.18.11 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2-storage, 2.20.2, http://bugs.opensuse.org/, yast2-storage)
+AC_INIT(yast2-storage, 2.20.3, http://bugs.opensuse.org/, yast2-storage)
dnl Check for presence of file 'RPMNAME'
AC_CONFIG_SRCDIR([RPMNAME])
@@ -18,7 +18,7 @@
AM_INIT_AUTOMAKE(tar-ustar -Wno-portability)
dnl Important YaST2 variables
-VERSION="2.20.2"
+VERSION="2.20.3"
RPMNAME="yast2-storage"
MAINTAINER="Arvin Schnell "
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-storage-2.20.2/storage/src/include/ep-dialogs.ycp new/yast2-storage-2.20.3/storage/src/include/ep-dialogs.ycp
--- old/yast2-storage-2.20.2/storage/src/include/ep-dialogs.ycp 2010-07-19 16:25:19.000000000 +0200
+++ new/yast2-storage-2.20.3/storage/src/include/ep-dialogs.ycp 2010-09-23 12:40:56.000000000 +0200
@@ -585,7 +585,7 @@
map target_map = Storage::GetTargetMap();
- map possible = Storage::IsResizable(data);
+ map possible = Storage::IsResizable(data);
if (!data["format"]:false && !possible["shrink"]:false && !possible["extend"]:false)
{
// popup text
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-storage-2.20.2/storage/src/include/ep-hd.ycp new/yast2-storage-2.20.3/storage/src/include/ep-hd.ycp
--- old/yast2-storage-2.20.2/storage/src/include/ep-hd.ycp 2010-08-06 14:52:04.000000000 +0200
+++ new/yast2-storage-2.20.3/storage/src/include/ep-hd.ycp 2010-09-20 10:35:14.000000000 +0200
@@ -202,7 +202,7 @@
list<symbol> fields = [ `heading_device, `device, `size, `udev_path, `udev_id, `used_by,
`heading_hd, `vendor, `model, `num_cyl, `cyl_size, `bus, `bios_id,
- `disk_label ];
+ `sector_size, `disk_label ];
if (contains([ `CT_MDPART ], ctype))
{
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-storage-2.20.2/storage/src/include/ep-raid-lib.ycp new/yast2-storage-2.20.3/storage/src/include/ep-raid-lib.ycp
--- old/yast2-storage-2.20.2/storage/src/include/ep-raid-lib.ycp 2010-07-20 11:34:45.000000000 +0200
+++ new/yast2-storage-2.20.3/storage/src/include/ep-raid-lib.ycp 2010-09-27 10:39:31.000000000 +0200
@@ -17,7 +17,7 @@
foreach(string dev, devs, {
Storage::SetPartitionId(dev, Partitions::fsid_raid);
Storage::SetPartitionFormat(dev, false, `none);
- if (!Storage::ExtendMd(raid_nr, dev))
+ if (!Storage::ExtendMd(raid_nr, [ dev ]))
ret = false;
});
@@ -31,7 +31,7 @@
foreach(string dev, devs, {
Storage::UnchangePartitionId(dev);
- if (!Storage::ShrinkMd(raid_nr, dev))
+ if (!Storage::ShrinkMd(raid_nr, [ dev ]))
ret = false;
});
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-storage-2.20.2/storage/src/include/ep-settings.ycp new/yast2-storage-2.20.3/storage/src/include/ep-settings.ycp
--- old/yast2-storage-2.20.2/storage/src/include/ep-settings.ycp 2010-04-26 17:02:43.000000000 +0200
+++ new/yast2-storage-2.20.3/storage/src/include/ep-settings.ycp 2010-09-20 10:35:14.000000000 +0200
@@ -137,6 +137,12 @@
system type for newly created file file systems.</p>");
// helptext
+ helptext = helptext + _("<p><b>Alignment of Newly Created Partitions</b>
+determines how created partitions are aligned. <b>cylinder</b> is the traditional alignment at cylinder boundaries of the disk. <b>optimal</b> aligns the
+partitions for best performance according to hints provided by linux kernel
+or tries to be compatible with Windows Vista and Win 7.</p>");
+
+ // helptext
helptext = helptext + _("<p><b>Show Storage Devices by</b> controls
the name displayed for hard disks in the navigation tree.</p>");
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-storage-2.20.2/storage/src/modules/Storage.ycp new/yast2-storage-2.20.3/storage/src/modules/Storage.ycp
--- old/yast2-storage-2.20.2/storage/src/modules/Storage.ycp 2010-08-09 14:08:17.000000000 +0200
+++ new/yast2-storage-2.20.3/storage/src/modules/Storage.ycp 2010-09-27 10:39:31.000000000 +0200
@@ -19,7 +19,7 @@
* wurde versucht "intelligent" zu gestallten und ist im einzelen bei den
* entspechenden Funktionen n�her erkl�rt.
*
- * $Id: Storage.ycp 62372 2010-08-09 11:49:48Z fehr $
+ * $Id: Storage.ycp 62505 2010-09-27 08:38:30Z aschnell $
*/
{
module "Storage";
@@ -1500,9 +1500,12 @@
y2warning( "disk \"%1\" ret:%2", c["device"]:"", ret );
list<string> ls = splitstring(LibStorage::MdPartCoInfo::swig_devices_get(infos), " ");
- y2milestone( "ls=%1", ls );
c["devices"] = ls;
+ ls = splitstring(LibStorage::MdPartCoInfo::swig_spares_get(infos), " ");
+ if (!isempty(ls))
+ c["spares"] = ls;
+
integer t = LibStorage::MdPartCoInfo::swig_type_get(infos);
c["raid_type"] = substring(sformat("%1", toSymbol(conv_mdtype, t)), 1);
if( HasRaidParity( c["raid_type"]:"" ))
@@ -1601,8 +1604,14 @@
}
string d = LibStorage::MdInfo::swig_sb_ver_get(info);
p["sb_ver"] = d;
- list<string> ls = splitstring( LibStorage::MdInfo::swig_devices_get(info), " " );
+
+ list<string> ls = splitstring(LibStorage::MdInfo::swig_devices_get(info), " ");
p["devices"] = ls;
+
+ ls = splitstring(LibStorage::MdInfo::swig_spares_get(info), " ");
+ if (!isempty(ls))
+ p["spares"] = ls;
+
c["partitions"] = add( c["partitions"]:[], p );
});
}
@@ -2681,7 +2690,7 @@
integer tmp = conv_mdstring[type]:0;
list<string> dummy = [];
string rd = sformat("/dev/md%1", nr );
- ret = LibStorage::StorageInterface::createMd( sint, rd, tmp, dummy );
+ ret = LibStorage::StorageInterface::createMd(sint, rd, tmp, dummy, dummy);
if( ret<0 )
y2error( "CreateMd sint ret:%1", ret );
UpdateTargetMapDisk( "/dev/md" );
@@ -2698,33 +2707,36 @@
if (v == type)
tmp = k;
});
-
+
+ list<string> dummy = [];
string rd = sformat("/dev/md%1", nr );
- ret = LibStorage::StorageInterface::createMd(sint, rd, tmp, devices);
+ ret = LibStorage::StorageInterface::createMd(sint, rd, tmp, devices, dummy);
if( ret<0 )
y2error( "CreateMdWithDevs sint ret:%1", ret );
UpdateTargetMap();
return ret==0;
}
-global boolean ExtendMd( integer nr, string dev )
+global boolean ExtendMd( integer nr, list<string> devs )
{
- y2milestone( "ExtendMd nr:%1 dev:%2", nr, dev );
+ y2milestone( "ExtendMd nr:%1 devs:%2", nr, devs );
integer ret = 0;
+ list<string> dummy = [];
string rd = sformat("/dev/md%1", nr );
- ret = LibStorage::StorageInterface::extendMd( sint, rd, dev );
+ ret = LibStorage::StorageInterface::extendMd( sint, rd, devs, dummy );
if( ret<0 )
y2error( "ExtendMd sint ret:%1", ret );
UpdateTargetMap();
return( ret==0 );
}
-global boolean ShrinkMd( integer nr, string dev )
+global boolean ShrinkMd( integer nr, list<string> devs )
{
- y2milestone( "ShrinkMd nr:%1 dev:%2", nr, dev );
+ y2milestone( "ShrinkMd nr:%1 devs:%2", nr, devs );
integer ret = 0;
+ list<string> dummy = [];
string rd = sformat("/dev/md%1", nr );
- ret = LibStorage::StorageInterface::shrinkMd( sint, rd, dev );
+ ret = LibStorage::StorageInterface::shrinkMd( sint, rd, devs, dummy );
if( ret<0 )
y2error( "ShrinkMd sint ret:%1", ret );
UpdateTargetMap();
@@ -2803,7 +2815,8 @@
tmp = k;
});
- ret = LibStorage::StorageInterface::computeMdSize(sint, tmp, devices, sizeK);
+ list<string> dummy = [];
+ ret = LibStorage::StorageInterface::computeMdSize(sint, tmp, devices, dummy, sizeK);
if( ret!=0 )
y2milestone( "ComputeMdSize sint ret:%1", ret );
return ret;
@@ -2998,12 +3011,10 @@
ret = Storage::CreateMd( p["nr"]:0, p["raid_type"]:"raid1" );
if( ret && haskey( p, "chunk_size" ))
Storage::ChangeMdChunk( p["nr"]:0, p["chunk_size"]:4 );
- if( ret && HasRaidParity( p["raid_type"]:"" ) &&
- haskey( p, "parity_algorithm" ))
- Storage::ChangeMdParity( p["nr"]:0,
- p["parity_algorithm"]:"" );
- foreach( string d, p["devices"]:[],
- ``{ret=Storage::ExtendMd( p["nr"]:0, d )&&ret;});
+ if( ret && HasRaidParity( p["raid_type"]:"" ) && haskey( p, "parity_algorithm" ))
+ Storage::ChangeMdParity(p["nr"]:0, p["parity_algorithm"]:"");
+ if (ret)
+ ret = Storage::ExtendMd(p["nr"]:0, p["devices"]:[]);
}
else if( ctype == `CT_LOOP )
{
@@ -4838,9 +4849,9 @@
* @param map partition
* @return map resizable ?
*/
-global define map IsResizable( map part )
- ``{
- map ret = FileSystems::IsResizable(`unknown);
+global map IsResizable(map part)
+ {
+ map ret = FileSystems::IsResizable(`unknown);
if ((!Arch::s390() && Partitions::IsResizable(part["fsid"]:0)) ||
part["type"]:`none == `lvm)
{
@@ -4850,7 +4861,8 @@
}
else
{
- ret = FileSystems::IsResizable(part["used_fs"]:`unknown);
+ if (!(part["type"]:`none == `lvm && part["used_fs"]:`unknown == `vfat))
+ ret = FileSystems::IsResizable(part["used_fs"]:`unknown);
}
}
y2milestone( "IsResizable part:%1 ret:%2", part, ret );
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-storage-2.20.2/VERSION new/yast2-storage-2.20.3/VERSION
--- old/yast2-storage-2.20.2/VERSION 2010-09-13 11:32:50.000000000 +0200
+++ new/yast2-storage-2.20.3/VERSION 2010-09-27 11:21:59.000000000 +0200
@@ -1 +1 @@
-2.20.2
+2.20.3
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org