commit yast2-storage for openSUSE:Factory
Hello community, here is the log from the commit of package yast2-storage for openSUSE:Factory checked in at Thu Apr 1 16:09:11 CEST 2010. -------- --- yast2-storage/yast2-storage.changes 2010-03-19 15:42:32.000000000 +0100 +++ /mounts/work_src_done/STABLE/yast2-storage/yast2-storage.changes 2010-04-01 14:14:27.000000000 +0200 @@ -1,0 +2,23 @@ +Mon Mar 29 16:08:36 CEST 2010 - aschnell@suse.de + +- enable XFS on S390 (bnc #591846) +- 2.19.10 + +------------------------------------------------------------------- +Fri Mar 26 12:37:28 CET 2010 - aschnell@suse.de + +- increased size of boot partition to 200MB for various PPC + platforms (bnc #587777) + +------------------------------------------------------------------- +Thu Mar 25 18:24:35 CET 2010 - fehr@suse.de + +- fix problems with detection of data on newly unlocked encrypted + volumes (bnc #581341) + +------------------------------------------------------------------- +Wed Mar 24 11:37:57 CET 2010 - fehr@suse.de + +- do not use default swap mounts in AutoYaST + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- yast2-storage-2.19.9.tar.bz2 New: ---- yast2-storage-2.19.10.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-storage.spec ++++++ --- /var/tmp/diff_new_pack.KrAbgQ/_old 2010-04-01 16:08:56.000000000 +0200 +++ /var/tmp/diff_new_pack.KrAbgQ/_new 2010-04-01 16:08:56.000000000 +0200 @@ -1,5 +1,5 @@ # -# spec file for package yast2-storage (Version 2.19.9) +# spec file for package yast2-storage (Version 2.19.10) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -19,11 +19,11 @@ Name: yast2-storage -Version: 2.19.9 +Version: 2.19.10 Release: 1 BuildRoot: %{_tmppath}/%{name}-%{version}-build -Source0: yast2-storage-2.19.9.tar.bz2 +Source0: yast2-storage-2.19.10.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.19.12 yast2 >= 2.19.4 yast2-core-devel >= 2.18.1 yast2-devtools +BuildRequires: libstorage-devel >= 2.19.13 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 yast2-core >= 2.18.3 yast2 >= 2.19.4 yast2-libyui >= 2.18.7 @@ -55,7 +55,7 @@ devices during installation and on an installed system. %prep -%setup -n yast2-storage-2.19.9 +%setup -n yast2-storage-2.19.10 %build %{prefix}/bin/y2tool y2autoconf ++++++ yast2-storage-2.19.9.tar.bz2 -> yast2-storage-2.19.10.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-2.19.9/VERSION new/yast2-storage-2.19.10/VERSION --- old/yast2-storage-2.19.9/VERSION 2010-03-19 15:37:55.000000000 +0100 +++ new/yast2-storage-2.19.10/VERSION 2010-04-01 14:09:01.000000000 +0200 @@ -1 +1 @@ -2.19.9 +2.19.10 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-2.19.9/configure new/yast2-storage-2.19.10/configure --- old/yast2-storage-2.19.9/configure 2010-03-19 15:40:36.000000000 +0100 +++ new/yast2-storage-2.19.10/configure 2010-04-01 14:10:42.000000000 +0200 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.63 for yast2-storage 2.19.9. +# Generated by GNU Autoconf 2.63 for yast2-storage 2.19.10. # # Report bugs to <http://bugs.opensuse.org/>. # @@ -745,8 +745,8 @@ # Identity of this package. PACKAGE_NAME='yast2-storage' PACKAGE_TARNAME='yast2-storage' -PACKAGE_VERSION='2.19.9' -PACKAGE_STRING='yast2-storage 2.19.9' +PACKAGE_VERSION='2.19.10' +PACKAGE_STRING='yast2-storage 2.19.10' PACKAGE_BUGREPORT='http://bugs.opensuse.org/' ac_unique_file="RPMNAME" @@ -1537,7 +1537,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.19.9 to adapt to many kinds of systems. +\`configure' configures yast2-storage 2.19.10 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1608,7 +1608,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of yast2-storage 2.19.9:";; + short | recursive ) echo "Configuration of yast2-storage 2.19.10:";; esac cat <<\_ACEOF @@ -1720,7 +1720,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -yast2-storage configure 2.19.9 +yast2-storage configure 2.19.10 generated by GNU Autoconf 2.63 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, @@ -1734,7 +1734,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.19.9, which was +It was created by yast2-storage $as_me 2.19.10, which was generated by GNU Autoconf 2.63. Invocation command line was $ $0 $@ @@ -2714,7 +2714,7 @@ # Define the identity of the package. PACKAGE='yast2-storage' - VERSION='2.19.9' + VERSION='2.19.10' cat >>confdefs.h <<_ACEOF @@ -2836,7 +2836,7 @@ -VERSION="2.19.9" +VERSION="2.19.10" RPMNAME="yast2-storage" MAINTAINER="Arvin Schnell <aschnell@suse.de>" @@ -17373,7 +17373,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.19.9, which was +This file was extended by yast2-storage $as_me 2.19.10, which was generated by GNU Autoconf 2.63. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -17436,7 +17436,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_version="\\ -yast2-storage config.status 2.19.9 +yast2-storage config.status 2.19.10 configured by $0, generated by GNU Autoconf 2.63, with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-2.19.9/configure.in new/yast2-storage-2.19.10/configure.in --- old/yast2-storage-2.19.9/configure.in 2010-03-19 15:40:28.000000000 +0100 +++ new/yast2-storage-2.19.10/configure.in 2010-04-01 14:10:33.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.19.9, http://bugs.opensuse.org/, yast2-storage) +AC_INIT(yast2-storage, 2.19.10, 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.19.9" +VERSION="2.19.10" RPMNAME="yast2-storage" MAINTAINER="Arvin Schnell <aschnell@suse.de>" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-2.19.9/storage/src/inst_target_selection.ycp new/yast2-storage-2.19.10/storage/src/inst_target_selection.ycp --- old/yast2-storage-2.19.9/storage/src/inst_target_selection.ycp 2010-03-18 15:30:00.000000000 +0100 +++ new/yast2-storage-2.19.10/storage/src/inst_target_selection.ycp 2010-03-23 11:40:50.000000000 +0100 @@ -12,7 +12,7 @@ * "target_is":<devicename> (key to "targets" map) * if custom, set "target_is":"CUSTOM" * - * $Id: inst_target_selection.ycp 61385 2010-03-18 14:06:54Z aschnell $ + * $Id: inst_target_selection.ycp 61451 2010-03-23 10:40:49Z aschnell $ */ { textdomain "storage"; @@ -56,14 +56,12 @@ boolean custom_val = (Storage::GetPartMode() == "CUSTOM"); y2milestone( "custom_val %1", custom_val ); - if( size(targetMap) > 0) + if (!isempty(targetMap)) { // loop over targetMap and build radio buttons for selection // dont use foreach here since we need a counter (as a shortcut) // anyway - term buttonbox = `VBox(); - map<string, map> usable_target_map = filter(string d, map e, targetMap, { return Storage::IsPartitionable(e) && !contains([ `UB_DMRAID, `UB_DMMULTIPATH, `UB_MDPART ], e["used_by_type"]:`UB_NONE); @@ -72,18 +70,18 @@ integer dskcnt = size(usable_target_map); y2milestone("dskcnt:%1", dskcnt); + term buttonbox = `VBox(); + if (dskcnt >= 10) { - integer i = 1; list<term> disklist = []; foreach(string tname, map tdata, usable_target_map, { string tlinename = tdata["proposal_name"]:tdata["device"]:"?"; - string tline = sformat("%1: %2", i, tlinename); + string tline = sformat("%1", tlinename); disklist = add(disklist, `item(`id(tname), tline)); - i = i + 1; }); - buttonbox = add(buttonbox, `SelectionBox(`id(`disklist), `opt(`notify), - _("Available &Disks"), disklist)); + buttonbox = add(buttonbox, `MinWidth(40, `SelectionBox(`id(`disklist), `opt(`notify), + _("Available &Disks"), disklist))); } else { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-2.19.9/storage/src/modules/FileSystems.ycp new/yast2-storage-2.19.10/storage/src/modules/FileSystems.ycp --- old/yast2-storage-2.19.9/storage/src/modules/FileSystems.ycp 2010-03-16 15:03:23.000000000 +0100 +++ new/yast2-storage-2.19.10/storage/src/modules/FileSystems.ycp 2010-03-29 16:12:57.000000000 +0200 @@ -8,7 +8,7 @@ * These module contains the supported filesystems and their settings. * * - * $Id: FileSystems.ycp 61335 2010-03-16 14:03:23Z aschnell $ + * $Id: FileSystems.ycp 61525 2010-03-29 14:12:57Z aschnell $ */ { module "FileSystems"; @@ -909,7 +909,6 @@ } if( Arch::s390() ) { - support[`xfs] = false; support[`vfat] = false; } if( Arch::ia64() ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-2.19.9/storage/src/modules/Partitions.ycp new/yast2-storage-2.19.10/storage/src/modules/Partitions.ycp --- old/yast2-storage-2.19.9/storage/src/modules/Partitions.ycp 2010-01-29 14:31:34.000000000 +0100 +++ new/yast2-storage-2.19.10/storage/src/modules/Partitions.ycp 2010-03-26 12:41:55.000000000 +0100 @@ -6,7 +6,7 @@ * * Purpose: Provides information about partitions * - * $Id: Partitions.ycp 60122 2009-12-16 12:58:52Z aschnell $ + * $Id: Partitions.ycp 61512 2010-03-26 11:41:53Z aschnell $ */ { module "Partitions"; @@ -194,15 +194,15 @@ } else if( Arch::board_chrp() ) { - minimal_needed_bootsize = 16*1024*1024; + minimal_needed_bootsize = 200*1024*1024; } else if( Arch::board_prep() ) { - minimal_needed_bootsize = 5*1024*1024; + minimal_needed_bootsize = 200*1024*1024; } else if( Arch::board_iseries() ) { - minimal_needed_bootsize = 8*1024*1024; + minimal_needed_bootsize = 200*1024*1024; } else if( Arch::board_mac() ) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-2.19.9/storage/src/modules/Storage.ycp new/yast2-storage-2.19.10/storage/src/modules/Storage.ycp --- old/yast2-storage-2.19.9/storage/src/modules/Storage.ycp 2010-03-19 11:58:22.000000000 +0100 +++ new/yast2-storage-2.19.10/storage/src/modules/Storage.ycp 2010-03-29 16:12:39.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 61401 2010-03-19 10:58:12Z aschnell $ + * $Id: Storage.ycp 61499 2010-03-25 17:26:38Z fehr $ */ { module "Storage"; @@ -3190,10 +3190,14 @@ search( diskdev, "/dev/evms" )!=0 ) || (contains( swaps, part["device"]:"" ))) { + y2milestone( "AddSwapMp %1", part ); boolean ok = true; if( !contains( swaps, part["device"]:"" )) { - ok = CheckSwapable( part["device"]:"" ); + string dev = part["device"]:""; + if( !isempty(part["crypt_device"]:"")) + dev = part["crypt_device"]:""; + ok = CheckSwapable( dev ); y2milestone( "AddSwapMp initial ok:%1", ok ); } if( ok ) @@ -3434,10 +3438,10 @@ ``(p["enc_type"]:`none==`luks )); in_cr = (list<map>)merge( in_cr, filter( map p, tmp, - ``(size(p["crypt_device"]:"")==0))); + ``(isempty(p["crypt_device"]:"")))); ac_cr = (list<map>)merge( ac_cr, filter( map p, tmp, - ``(size(p["crypt_device"]:"")>0))); + ``(!isempty(p["crypt_device"]:"")))); }); y2milestone( "GetCryptLists inactive:%1", in_cr ); y2milestone( "GetCryptLists active:%1", ac_cr ); @@ -3452,6 +3456,7 @@ { map crvol = GetCryptLists( target ); boolean ret = true; + boolean rescan_done = false; // text in help field string helptext = _( "Enter encryption password for any of the @@ -3510,10 +3515,17 @@ crvol["inactive"] = filter( string s, crvol["inactive"]:[], ``(!contains(rl,s))); RescanCrypted(); + rescan_done = true; } } } } + if( rescan_done ) + { + StorageMap[targets_key] = target; + UpdateTargetMap(); + target = StorageMap[targets_key]:$[]; + } return( target ); } @@ -3691,7 +3703,7 @@ if (Stage::initial()) { tmp = AddProposalName(tmp); - AskCryptPasswords( tmp ); + tmp = AskCryptPasswords( tmp ); } StorageMap[targets_key] = tmp; } @@ -3700,8 +3712,11 @@ { tmp = StorageMap[targets_key]:$[]; SCR::Write(.target.ycp, Storage::SaveDumpPath("targetMap_i"), tmp ); - y2milestone ("AddSwapMp" ); - tmp = AddSwapMp( tmp ); + if( !Mode::autoinst() ) + { + y2milestone ("AddSwapMp" ); + tmp = AddSwapMp( tmp ); + } CreateTargetBackup( "initial" ); if( (Stage::initial() || Mode::repair()) && !Mode::autoinst() ) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-2.19.9/storage/src/modules/StorageFields.ycp new/yast2-storage-2.19.10/storage/src/modules/StorageFields.ycp --- old/yast2-storage-2.19.9/storage/src/modules/StorageFields.ycp 2010-01-11 11:14:07.000000000 +0100 +++ new/yast2-storage-2.19.10/storage/src/modules/StorageFields.ycp 2010-03-20 14:20:21.000000000 +0100 @@ -73,7 +73,7 @@ return "DM Multipath " + device; case `UB_MD: case `UB_MDPART: - return "RAID " + device; + return "MD RAID " + device; default: return device; } @@ -518,7 +518,7 @@ } else if (disk["type"]:`CT_UNKNOWN == `CT_MDPART) { - value = "MD " + disk["name"]:""; + value = "MD RAID " + disk["name"]:""; } else { ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de