Hello community, here is the log from the commit of package yast2-storage for openSUSE:12.3 checked in at 2013-03-05 16:38:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:12.3/yast2-storage (Old) and /work/SRC/openSUSE:12.3/.yast2-storage.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-storage", Maintainer is "aschn...@suse.com" Changes: -------- --- /work/SRC/openSUSE:12.3/yast2-storage/yast2-storage.changes 2013-03-01 09:11:56.000000000 +0100 +++ /work/SRC/openSUSE:12.3/.yast2-storage.new/yast2-storage.changes 2013-03-05 16:38:05.000000000 +0100 @@ -1,0 +2,12 @@ +Mon Mar 04 14:43:34 CET 2013 - aschn...@suse.de + +- version 2.23.9 +- deactivate RAID before calling storage configuration clients + from expert partitioner (bnc#806454) + +------------------------------------------------------------------- +Mon Mar 04 11:29:52 CET 2013 - aschn...@suse.de + +- fixed clone disk function (bnc#801997) + +------------------------------------------------------------------- Old: ---- yast2-storage-2.23.8.tar.bz2 New: ---- yast2-storage-2.23.9.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-storage.spec ++++++ --- /var/tmp/diff_new_pack.1sMZ5N/_old 2013-03-05 16:38:05.000000000 +0100 +++ /var/tmp/diff_new_pack.1sMZ5N/_new 2013-03-05 16:38:05.000000000 +0100 @@ -17,7 +17,7 @@ Name: yast2-storage -Version: 2.23.8 +Version: 2.23.9 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build ++++++ yast2-storage-2.23.8.tar.bz2 -> yast2-storage-2.23.9.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-2.23.8/VERSION new/yast2-storage-2.23.9/VERSION --- old/yast2-storage-2.23.8/VERSION 2013-02-28 15:52:58.000000000 +0100 +++ new/yast2-storage-2.23.9/VERSION 2013-03-05 12:13:35.000000000 +0100 @@ -1 +1 @@ -2.23.8 +2.23.9 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-2.23.8/configure new/yast2-storage-2.23.9/configure --- old/yast2-storage-2.23.8/configure 2013-02-28 15:53:20.000000000 +0100 +++ new/yast2-storage-2.23.9/configure 2013-03-05 12:37:37.000000000 +0100 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for yast2-storage 2.23.8. +# Generated by GNU Autoconf 2.69 for yast2-storage 2.23.9. # # Report bugs to <http://bugs.opensuse.org/>. # @@ -590,8 +590,8 @@ # Identity of this package. PACKAGE_NAME='yast2-storage' PACKAGE_TARNAME='yast2-storage' -PACKAGE_VERSION='2.23.8' -PACKAGE_STRING='yast2-storage 2.23.8' +PACKAGE_VERSION='2.23.9' +PACKAGE_STRING='yast2-storage 2.23.9' PACKAGE_BUGREPORT='http://bugs.opensuse.org/' PACKAGE_URL='' @@ -1380,7 +1380,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures yast2-storage 2.23.8 to adapt to many kinds of systems. +\`configure' configures yast2-storage 2.23.9 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1451,7 +1451,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of yast2-storage 2.23.8:";; + short | recursive ) echo "Configuration of yast2-storage 2.23.9:";; esac cat <<\_ACEOF @@ -1569,7 +1569,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -yast2-storage configure 2.23.8 +yast2-storage configure 2.23.9 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2022,7 +2022,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by yast2-storage $as_me 2.23.8, which was +It was created by yast2-storage $as_me 2.23.9, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2961,7 +2961,7 @@ # Define the identity of the package. PACKAGE='yast2-storage' - VERSION='2.23.8' + VERSION='2.23.9' cat >>confdefs.h <<_ACEOF @@ -3084,7 +3084,7 @@ -VERSION="2.23.8" +VERSION="2.23.9" RPMNAME="yast2-storage" MAINTAINER="Arvin Schnell <aschn...@suse.de>" @@ -16825,7 +16825,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by yast2-storage $as_me 2.23.8, which was +This file was extended by yast2-storage $as_me 2.23.9, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -16891,7 +16891,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -yast2-storage config.status 2.23.8 +yast2-storage config.status 2.23.9 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-2.23.8/configure.in new/yast2-storage-2.23.9/configure.in --- old/yast2-storage-2.23.8/configure.in 2013-02-28 15:53:09.000000000 +0100 +++ new/yast2-storage-2.23.9/configure.in 2013-03-05 12:37:27.000000000 +0100 @@ -3,7 +3,7 @@ dnl -- This file is generated by y2autoconf 2.23.2 - DO NOT EDIT! -- dnl (edit configure.in.in instead) -AC_INIT(yast2-storage, 2.23.8, http://bugs.opensuse.org/, yast2-storage) +AC_INIT(yast2-storage, 2.23.9, 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.23.8" +VERSION="2.23.9" RPMNAME="yast2-storage" MAINTAINER="Arvin Schnell <aschn...@suse.de>" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-2.23.8/storage/src/include/ep-all.ycp new/yast2-storage-2.23.9/storage/src/include/ep-all.ycp --- old/yast2-storage-2.23.8/storage/src/include/ep-all.ycp 2013-01-22 12:12:36.000000000 +0100 +++ new/yast2-storage-2.23.9/storage/src/include/ep-all.ycp 2013-03-04 14:51:34.000000000 +0100 @@ -177,7 +177,11 @@ if (pkgs == nil || CheckAndInstallPackages(pkgs)) { if (call != nil) + { + Storage::ActivateHld(false); WFM::call(call); + } + RescanDisks(); Storage::CreateTargetBackup("expert-partitioner"); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-2.23.8/storage/src/include/ep-hd-lib.ycp new/yast2-storage-2.23.9/storage/src/include/ep-hd-lib.ycp --- old/yast2-storage-2.23.8/storage/src/include/ep-hd-lib.ycp 2013-02-15 10:33:44.000000000 +0100 +++ new/yast2-storage-2.23.9/storage/src/include/ep-hd-lib.ycp 2013-03-04 11:36:35.000000000 +0100 @@ -565,18 +565,11 @@ continue; } + // collect partitions to delete list <string> partitions_to_delete = []; - - //collect partitions to delete foreach (string this_disk, selected_disks, { - list <map> partitions = target_map[ this_disk, "partitions" ]:[]; - - if (!isempty(partitions)) { - list <string> tmp = maplist( map one_part, partitions, { - return one_part["device"]:""; - }); - partitions_to_delete = (list <string>) union( partitions_to_delete, tmp); - } + partitions_to_delete = (list <string>) + union(partitions_to_delete, Storage::GetAffectedDevices(this_disk)); }); //if there is anything to delete, ask user if s/he really wants to delete @@ -593,23 +586,8 @@ foreach (string this_disk, selected_disks, { map <string,any> disk_info = Storage::GetDisk( target_map, this_disk ); - list <map> partitions = target_map[ this_disk, "partitions" ]:[]; - list<string> pnames = maplist(map part, partitions, { return part["device"]:""; }); - string part_table_type = disk_info["label"]:Storage::DefaultDiskLabel(disk_info["device"]:""); - - y2milestone("Deleting these partitions: %1", pnames); - - if (!isempty(partitions)) { - foreach( string one_partition, pnames,{ - Storage::DeleteDevice(one_partition); - }); - } - - if( mypart_table_type != part_table_type ) { - y2milestone("%1 has different type of partition table: %2, will create a new one", - this_disk, part_table_type); - Storage::CreatePartitionTable( disk_info["device"]:"", mypart_table_type ); - } + + Storage::CreatePartitionTable( disk_info["device"]:"", mypart_table_type ); foreach( map one_partition, myparts, { map next = Storage::NextPartition( this_disk, one_partition["type"]:`none); -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org