Hello community, here is the log from the commit of package yast2-storage for openSUSE:Factory checked in at 2013-07-03 10:28:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yast2-storage (Old) and /work/SRC/openSUSE:Factory/.yast2-storage.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "yast2-storage" Changes: -------- --- /work/SRC/openSUSE:Factory/yast2-storage/yast2-storage.changes 2013-06-13 22:58:15.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.yast2-storage.new/yast2-storage.changes 2013-07-03 10:28:54.000000000 +0200 @@ -1,0 +2,30 @@ +Mon Jul 1 12:24:56 CEST 2013 - fehr@suse.de + +- version 2.24.5 +- increase proposed size for /boot to 400M (bnc#826981) + +------------------------------------------------------------------- +Thu Jun 27 11:25:40 UTC 2013 - lslezak@suse.cz + +- installation - if /mnt/proc and /mnt/sys directories do not exist + then create them before mounting (gh#yast/yast-storage#5) +- 2.24.4 + +------------------------------------------------------------------- +Wed Jun 26 18:00:19 CEST 2013 - fehr@suse.de + +- fix encrypted volumes on multiple disks via autoyast (bnc#826384) + +------------------------------------------------------------------- +Thu Jun 20 05:44:41 UTC 2013 - lslezak@suse.cz + +- Ruby transition compatibility (removed unnecessary *.exp files, + removed y2internal() from finishParameters) +- 2.24.3 + +------------------------------------------------------------------- +Tue Jun 18 18:52:26 CEST 2013 - fehr@suse.de + +- remove obsolete check about not using btrfs for /boot + +------------------------------------------------------------------- Old: ---- yast2-storage-2.24.2.tar.bz2 New: ---- yast2-storage-2.24.5.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-storage.spec ++++++ --- /var/tmp/diff_new_pack.xJkpuc/_old 2013-07-03 10:28:55.000000000 +0200 +++ /var/tmp/diff_new_pack.xJkpuc/_new 2013-07-03 10:28:55.000000000 +0200 @@ -17,7 +17,7 @@ Name: yast2-storage -Version: 2.24.2 +Version: 2.24.5 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build ++++++ yast2-storage-2.24.2.tar.bz2 -> yast2-storage-2.24.5.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-2.24.2/VERSION new/yast2-storage-2.24.5/VERSION --- old/yast2-storage-2.24.2/VERSION 2013-06-10 14:25:57.000000000 +0200 +++ new/yast2-storage-2.24.5/VERSION 2013-07-01 12:44:06.000000000 +0200 @@ -1 +1 @@ -2.24.2 +2.24.5 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-2.24.2/bindings/src/StorageCallbacks.cc new/yast2-storage-2.24.5/bindings/src/StorageCallbacks.cc --- old/yast2-storage-2.24.2/bindings/src/StorageCallbacks.cc 2013-01-22 12:12:36.000000000 +0100 +++ new/yast2-storage-2.24.5/bindings/src/StorageCallbacks.cc 2013-06-20 11:15:54.000000000 +0200 @@ -156,7 +156,6 @@ bool Y2StorageCallbackFunction::finishParameters () { - y2internal ("finishParameters not implemented"); return true; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-2.24.2/configure new/yast2-storage-2.24.5/configure --- old/yast2-storage-2.24.2/configure 2013-06-10 14:26:14.000000000 +0200 +++ new/yast2-storage-2.24.5/configure 2013-07-02 12:08:47.000000000 +0200 @@ -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.24.2. +# Generated by GNU Autoconf 2.69 for yast2-storage 2.24.5. # # 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.24.2' -PACKAGE_STRING='yast2-storage 2.24.2' +PACKAGE_VERSION='2.24.5' +PACKAGE_STRING='yast2-storage 2.24.5' 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.24.2 to adapt to many kinds of systems. +`configure' configures yast2-storage 2.24.5 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.24.2:";; + short | recursive ) echo "Configuration of yast2-storage 2.24.5:";; 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.24.2 +yast2-storage configure 2.24.5 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.24.2, which was +It was created by yast2-storage $as_me 2.24.5, 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.24.2' + VERSION='2.24.5' cat >>confdefs.h <<_ACEOF @@ -3084,7 +3084,7 @@ -VERSION="2.24.2" +VERSION="2.24.5" RPMNAME="yast2-storage" MAINTAINER="Arvin Schnell <aschnell@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.24.2, which was +This file was extended by yast2-storage $as_me 2.24.5, 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.24.2 +yast2-storage config.status 2.24.5 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.24.2/configure.in new/yast2-storage-2.24.5/configure.in --- old/yast2-storage-2.24.2/configure.in 2013-06-10 14:26:04.000000000 +0200 +++ new/yast2-storage-2.24.5/configure.in 2013-07-02 12:08:37.000000000 +0200 @@ -1,9 +1,9 @@ dnl configure.in for yast2-storage dnl -dnl -- This file is generated by y2autoconf 2.24.0 - DO NOT EDIT! -- +dnl -- This file is generated by y2autoconf 2.24.1 - DO NOT EDIT! -- dnl (edit configure.in.in instead) -AC_INIT(yast2-storage, 2.24.2, http://bugs.opensuse.org/, yast2-storage) +AC_INIT(yast2-storage, 2.24.5, 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.24.2" +VERSION="2.24.5" RPMNAME="yast2-storage" MAINTAINER="Arvin Schnell <aschnell@suse.de>" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-2.24.2/storage/src/include/custom_part_check_generated.ycp new/yast2-storage-2.24.5/storage/src/include/custom_part_check_generated.ycp --- old/yast2-storage-2.24.2/storage/src/include/custom_part_check_generated.ycp 2013-03-14 18:06:37.000000000 +0100 +++ new/yast2-storage-2.24.5/storage/src/include/custom_part_check_generated.ycp 2013-06-18 18:55:56.000000000 +0200 @@ -288,20 +288,6 @@ ok = false; } - if (!boot_found && contains([ `btrfs ], root_fs) || show_all_popups) - { - // popup text - string message = _("You have mounted a partition with Btrfs to the -mount point /. This will very likely cause problems. Use a Linux file system, -such as ext3 or ext4, for this mount point or an extra partition for /boot. - -Really use this setup? -"); - - if (!Popup::YesNo(message)) - ok = false; - } - if( boot_found && installation || show_all_popups ) { if( boot_end >= Partitions::BootCyl() || show_all_popups ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-2.24.2/storage/src/inst_prepdisk.ycp new/yast2-storage-2.24.5/storage/src/inst_prepdisk.ycp --- old/yast2-storage-2.24.2/storage/src/inst_prepdisk.ycp 2013-01-22 12:12:36.000000000 +0100 +++ new/yast2-storage-2.24.5/storage/src/inst_prepdisk.ycp 2013-06-27 14:41:00.000000000 +0200 @@ -45,7 +45,17 @@ import "String"; import "SlideShow"; import "StorageClients"; - + import "FileUtils"; + + define void MountTarget(string dir, string device, string options) + { + string dest = Storage::PathToDestdir(dir); + + if (!FileUtils::Exists(dest)) SCR::Execute(.target.mkdir, dest); + + SCR::Execute (.target.mount, [device, dest], options); + } + if (Mode::update ()) return `auto; @@ -105,10 +115,9 @@ y2milestone( "cmd %1", cmd ); map m = (map) SCR::Execute(.target.bash_output, cmd ); y2milestone( "ret %1", m ); - string destproc = Storage::PathToDestdir("/proc"); - SCR::Execute (.target.mount, ["proc", destproc], "-t proc"); - destproc = Storage::PathToDestdir("/sys"); - SCR::Execute (.target.mount, ["sysfs", destproc], "-t sysfs"); + + MountTarget("/proc", "proc", "-t proc"); + MountTarget("/sys", "sysfs", "-t sysfs"); // mounting /run for udev (bnc#717321) cmd = "mkdir -vp '" + String::Quote(Storage::PathToDestdir("/run")) + "'; " + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-2.24.2/storage/src/modules/Partitions.ycp new/yast2-storage-2.24.5/storage/src/modules/Partitions.ycp --- old/yast2-storage-2.24.2/storage/src/modules/Partitions.ycp 2013-04-17 13:01:36.000000000 +0200 +++ new/yast2-storage-2.24.5/storage/src/modules/Partitions.ycp 2013-07-01 13:23:32.000000000 +0200 @@ -206,8 +206,8 @@ { if (isempty(boot_size_k)) { - boot_size_k = $[ `proposed : 150 * 1024, - `minimal : 64 * 1024, + boot_size_k = $[ `proposed : 400 * 1024, + `minimal : 90 * 1024, `maximal : 750 * 1024 ]; if (Arch::ia64()) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-2.24.2/storage/src/modules/Storage.ycp new/yast2-storage-2.24.5/storage/src/modules/Storage.ycp --- old/yast2-storage-2.24.2/storage/src/modules/Storage.ycp 2013-06-10 14:25:57.000000000 +0200 +++ new/yast2-storage-2.24.5/storage/src/modules/Storage.ycp 2013-06-27 11:34:14.000000000 +0200 @@ -4184,6 +4184,7 @@ global define void SetTargetMap( map<string,map> target ) { + map<string,string> save_crypt = $[]; y2milestone( "SetTargetMap" ); if( !GetRecursiveRemoval() ) SetRecursiveRemoval(true); @@ -4240,7 +4241,13 @@ dps = sort( map a, map b, dps, ``(a["nr"]:0>b["nr"]:0)); y2milestone( "SetTargetMap dps:%1", dps ); } - foreach( map p, dps, ``{DeleteDevice( p["device"]:"" );}); + foreach( map p, dps, + ``{ + string tdev = p["device"]:""; + if( p["enc_type"]:`none!=`none ) + save_crypt[tdev] = GetCryptPwd( tdev ); + DeleteDevice( tdev ); + }); if( tg[k,"create"]:false ) { if( tg[k,"type"]:`CT_UNKNOWN==`CT_LVM ) @@ -4330,6 +4337,10 @@ foreach( map p, dps, ``{ CreateAny( target[k,"type"]:`CT_UNKNOWN, target[k]:$[], p ); + string tdev = p["device"]:""; + if( p["enc_type"]:`none!=`none && + !isempty(save_crypt[tdev]:"") && isempty(GetCryptPwd(tdev)) ) + SetCryptPwd( tdev, save_crypt[tdev]:"" ); if( p["type"]:`primary != `extended ) ChangeVolumeProperties( p ); }); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-2.24.2/storage/src/testsuite/tests/empty-efi1.out new/yast2-storage-2.24.5/storage/src/testsuite/tests/empty-efi1.out --- old/yast2-storage-2.24.2/storage/src/testsuite/tests/empty-efi1.out 2013-01-22 12:12:36.000000000 +0100 +++ new/yast2-storage-2.24.5/storage/src/testsuite/tests/empty-efi1.out 2013-07-01 13:23:32.000000000 +0200 @@ -1,4 +1,4 @@ Dump Proposal: -Dump Create boot volume /dev/sda1 (156.88 MB) with vfat +Dump Create boot volume /dev/sda1 (400.06 MB) with vfat Dump Create swap volume /dev/sda2 (517.72 MB) -Dump Create root volume /dev/sda3 (297.43 GB) with ext4 +Dump Create root volume /dev/sda3 (297.19 GB) with ext4 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-2.24.2/storage/src/testsuite/tests/empty-efi2.out new/yast2-storage-2.24.5/storage/src/testsuite/tests/empty-efi2.out --- old/yast2-storage-2.24.2/storage/src/testsuite/tests/empty-efi2.out 2013-01-22 12:12:36.000000000 +0100 +++ new/yast2-storage-2.24.5/storage/src/testsuite/tests/empty-efi2.out 2013-07-01 13:23:32.000000000 +0200 @@ -1,5 +1,5 @@ Dump Proposal: -Dump Create boot volume /dev/sda1 (156.88 MB) with vfat +Dump Create boot volume /dev/sda1 (400.06 MB) with vfat Dump Create swap volume /dev/sda2 (2.01 GB) Dump Create root volume /dev/sda3 (20.00 GB) with ext4 -Dump Create volume /dev/sda4 (275.93 GB) for /home with ext4 +Dump Create volume /dev/sda4 (275.69 GB) for /home with ext4 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-2.24.2/storage/src/testsuite/tests/empty3.out new/yast2-storage-2.24.5/storage/src/testsuite/tests/empty3.out --- old/yast2-storage-2.24.2/storage/src/testsuite/tests/empty3.out 2013-01-22 12:12:36.000000000 +0100 +++ new/yast2-storage-2.24.5/storage/src/testsuite/tests/empty3.out 2013-07-01 13:23:32.000000000 +0200 @@ -1,6 +1,6 @@ Dump Proposal: -Dump Create boot volume /dev/sda1 (156.88 MB) with ext4 -Dump Create volume /dev/sda2 (29.98 GB) -Dump Create volume group system (29.98 GB) from /dev/sda2 [destructive] +Dump Create boot volume /dev/sda1 (400.06 MB) with ext4 +Dump Create volume /dev/sda2 (29.96 GB) +Dump Create volume group system (29.96 GB) from /dev/sda2 [destructive] Dump Create logical volume /dev/system/root (10.00 GB) for / with ext4 Dump Create swap logical volume /dev/system/swap (512.00 MB) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-2.24.2/storage/src/testsuite/tests/empty4.out new/yast2-storage-2.24.5/storage/src/testsuite/tests/empty4.out --- old/yast2-storage-2.24.2/storage/src/testsuite/tests/empty4.out 2013-01-22 12:12:36.000000000 +0100 +++ new/yast2-storage-2.24.5/storage/src/testsuite/tests/empty4.out 2013-07-01 13:23:32.000000000 +0200 @@ -1,7 +1,7 @@ Dump Proposal: -Dump Create boot volume /dev/sda1 (156.88 MB) with ext4 -Dump Create volume /dev/sda2 (29.98 GB) -Dump Create volume group system (29.98 GB) from /dev/sda2 [destructive] -Dump Create logical volume /dev/system/home (19.48 GB) for /home with ext4 +Dump Create boot volume /dev/sda1 (400.06 MB) with ext4 +Dump Create volume /dev/sda2 (29.96 GB) +Dump Create volume group system (29.96 GB) from /dev/sda2 [destructive] +Dump Create logical volume /dev/system/home (19.46 GB) for /home with ext4 Dump Create logical volume /dev/system/root (10.00 GB) for / with ext4 Dump Create swap logical volume /dev/system/swap (512.00 MB) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-2.24.2/storage/src/testsuite/tests/empty5.out new/yast2-storage-2.24.5/storage/src/testsuite/tests/empty5.out --- old/yast2-storage-2.24.2/storage/src/testsuite/tests/empty5.out 2013-01-22 12:12:36.000000000 +0100 +++ new/yast2-storage-2.24.5/storage/src/testsuite/tests/empty5.out 2013-07-01 13:23:32.000000000 +0200 @@ -1,6 +1,6 @@ Dump Proposal: -Dump Create boot volume /dev/sda1 (156.88 MB) with ext4 -Dump Create volume /dev/sda2 (297.94 GB) -Dump Create volume group system (297.93 GB) from /dev/sda2 [destructive] +Dump Create boot volume /dev/sda1 (400.06 MB) with ext4 +Dump Create volume /dev/sda2 (297.70 GB) +Dump Create volume group system (297.70 GB) from /dev/sda2 [destructive] Dump Create logical volume /dev/system/root (10.00 GB) for / with ext4 Dump Create swap logical volume /dev/system/swap (768.00 MB) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-2.24.2/storage/src/testsuite/tests/empty6.out new/yast2-storage-2.24.5/storage/src/testsuite/tests/empty6.out --- old/yast2-storage-2.24.2/storage/src/testsuite/tests/empty6.out 2013-01-22 12:12:36.000000000 +0100 +++ new/yast2-storage-2.24.5/storage/src/testsuite/tests/empty6.out 2013-07-01 13:23:32.000000000 +0200 @@ -1,7 +1,7 @@ Dump Proposal: -Dump Create boot volume /dev/sda1 (156.88 MB) with ext4 -Dump Create volume /dev/sda2 (297.94 GB) -Dump Create volume group system (297.93 GB) from /dev/sda2 [destructive] +Dump Create boot volume /dev/sda1 (400.06 MB) with ext4 +Dump Create volume /dev/sda2 (297.70 GB) +Dump Create volume group system (297.70 GB) from /dev/sda2 [destructive] Dump Create logical volume /dev/system/home (25.00 GB) for /home with ext4 Dump Create logical volume /dev/system/root (10.00 GB) for / with ext4 Dump Create swap logical volume /dev/system/swap (768.00 MB) -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org