Hello community,
here is the log from the commit of package yast2-storage
checked in at Sun Jun 8 12:05:26 CEST 2008.
--------
--- yast2-storage/yast2-storage.changes 2008-06-04 10:10:20.000000000 +0200
+++ /mounts/work_src_done/STABLE/STABLE/yast2-storage/yast2-storage.changes 2008-06-07 00:05:13.147661000 +0200
@@ -1,0 +2,6 @@
+Fri Jun 06 23:52:22 CEST 2008 - aschnell@suse.de
+
+- fixed deletion of logical volumes (bnc #397186)
+- version 2.16.26
+
+-------------------------------------------------------------------
Old:
----
yast2-storage-2.16.25.tar.bz2
New:
----
yast2-storage-2.16.26.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-storage.spec ++++++
--- /var/tmp/diff_new_pack.E14093/_old 2008-06-08 12:05:12.000000000 +0200
+++ /var/tmp/diff_new_pack.E14093/_new 2008-06-08 12:05:12.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-storage (Version 2.16.25)
+# spec file for package yast2-storage (Version 2.16.26)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -12,12 +12,12 @@
Name: yast2-storage
-Version: 2.16.25
+Version: 2.16.26
Release: 1
License: GPL v2 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-storage-2.16.25.tar.bz2
+Source0: yast2-storage-2.16.26.tar.bz2
Prefix: /usr
BuildRequires: blocxx-devel docbook-xsl-stylesheets doxygen evms evms-devel gcc-c++ libxcrypt-devel libxslt openssl-devel perl-XML-Writer sablot sgml-skel swig update-desktop-files yast2 yast2-core-devel yast2-devtools yast2-perl-bindings yast2-testsuite
Requires: parted yast2-storage-lib = %version yast2-perl-bindings mdadm lvm2 dmraid kpartx cryptsetup
@@ -51,7 +51,7 @@
Arvin Schnell
%prep
-%setup -n yast2-storage-2.16.25
+%setup -n yast2-storage-2.16.26
%build
%{prefix}/bin/y2tool y2autoconf
@@ -195,6 +195,9 @@
%doc %{prefix}/share/doc/packages/yast2-storage/libstorage
%doc %{prefix}/share/doc/packages/yast2-storage/config.xml.description
%changelog
+* Sat Jun 07 2008 aschnell@suse.de
+- fixed deletion of logical volumes (bnc #397186)
+- version 2.16.26
* Mon Jun 02 2008 aschnell@suse.de
- run storage_finish.ycp during live-installation (bug #389188)
- version 2.16.25
++++++ yast2-storage-2.16.25.tar.bz2 -> yast2-storage-2.16.26.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-storage-2.16.25/configure new/yast2-storage-2.16.26/configure
--- old/yast2-storage-2.16.25/configure 2008-06-04 10:09:34.000000000 +0200
+++ new/yast2-storage-2.16.26/configure 2008-06-07 00:03:34.000000000 +0200
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.61 for yast2-storage 2.16.25.
+# Generated by GNU Autoconf 2.61 for yast2-storage 2.16.26.
#
# Report bugs to http://bugs.opensuse.org/.
#
@@ -728,8 +728,8 @@
# Identity of this package.
PACKAGE_NAME='yast2-storage'
PACKAGE_TARNAME='yast2-storage'
-PACKAGE_VERSION='2.16.25'
-PACKAGE_STRING='yast2-storage 2.16.25'
+PACKAGE_VERSION='2.16.26'
+PACKAGE_STRING='yast2-storage 2.16.26'
PACKAGE_BUGREPORT='http://bugs.opensuse.org/'
ac_unique_file="RPMNAME"
@@ -1441,7 +1441,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.16.25 to adapt to many kinds of systems.
+\`configure' configures yast2-storage 2.16.26 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1512,7 +1512,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of yast2-storage 2.16.25:";;
+ short | recursive ) echo "Configuration of yast2-storage 2.16.26:";;
esac
cat <<\_ACEOF
@@ -1618,7 +1618,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-yast2-storage configure 2.16.25
+yast2-storage configure 2.16.26
generated by GNU Autoconf 2.61
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1632,7 +1632,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.16.25, which was
+It was created by yast2-storage $as_me 2.16.26, which was
generated by GNU Autoconf 2.61. Invocation command line was
$ $0 $@
@@ -2453,7 +2453,7 @@
# Define the identity of the package.
PACKAGE='yast2-storage'
- VERSION='2.16.25'
+ VERSION='2.16.26'
cat >>confdefs.h <<_ACEOF
@@ -2681,7 +2681,7 @@
-VERSION="2.16.25"
+VERSION="2.16.26"
RPMNAME="yast2-storage"
MAINTAINER="Arvin Schnell "
@@ -21039,7 +21039,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.16.25, which was
+This file was extended by yast2-storage $as_me 2.16.26, which was
generated by GNU Autoconf 2.61. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -21092,7 +21092,7 @@
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
-yast2-storage config.status 2.16.25
+yast2-storage config.status 2.16.26
configured by $0, generated by GNU Autoconf 2.61,
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-storage-2.16.25/configure.in new/yast2-storage-2.16.26/configure.in
--- old/yast2-storage-2.16.25/configure.in 2008-06-04 10:09:24.000000000 +0200
+++ new/yast2-storage-2.16.26/configure.in 2008-06-07 00:03:24.000000000 +0200
@@ -3,7 +3,7 @@
dnl -- This file is generated by y2autoconf 2.16.8 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2-storage, 2.16.25, http://bugs.opensuse.org/, yast2-storage)
+AC_INIT(yast2-storage, 2.16.26, 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.16.25"
+VERSION="2.16.26"
RPMNAME="yast2-storage"
MAINTAINER="Arvin Schnell "
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-storage-2.16.25/libstorage/src/Dm.cc new/yast2-storage-2.16.26/libstorage/src/Dm.cc
--- old/yast2-storage-2.16.25/libstorage/src/Dm.cc 2008-05-30 11:55:05.000000000 +0200
+++ new/yast2-storage-2.16.26/libstorage/src/Dm.cc 2008-06-06 14:44:55.000000000 +0200
@@ -333,6 +333,24 @@
setSize( num_le*pec()->peSize() );
}
+
+void Dm::setPeMap( const std::map& m )
+{
+ pe_map = m;
+
+ // remove usused entries
+ // TODO: do not generate pe_maps with unused entries in the first place
+ for(std::map::iterator i = pe_map.begin(); i != pe_map.end(); ) {
+ if (i->second == 0)
+ pe_map.erase(i++);
+ else
+ ++i;
+ }
+
+ y2mil("device:" << device() << " pe_map:" << pe_map);
+}
+
+
void Dm::changeDeviceName( const string& old, const string& nw )
{
map::const_iterator mit = pe_map.find( old );
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-storage-2.16.25/libstorage/src/Dm.h new/yast2-storage-2.16.26/libstorage/src/Dm.h
--- old/yast2-storage-2.16.25/libstorage/src/Dm.h 2008-05-30 11:55:05.000000000 +0200
+++ new/yast2-storage-2.16.26/libstorage/src/Dm.h 2008-06-06 14:40:01.000000000 +0200
@@ -29,7 +29,7 @@
bool removeTable();
void calcSize();
const std::map& getPeMap() const { return( pe_map ); }
- void setPeMap( const std::map& m ) { pe_map = m; }
+ void setPeMap( const std::map& m );
unsigned long long usingPe( const string& dev ) const;
bool mapsTo( const string& dev ) const;
void getTableInfo();
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-storage-2.16.25/libstorage/src/LvmVg.cc new/yast2-storage-2.16.26/libstorage/src/LvmVg.cc
--- old/yast2-storage-2.16.25/libstorage/src/LvmVg.cc 2008-05-30 11:55:05.000000000 +0200
+++ new/yast2-storage-2.16.26/libstorage/src/LvmVg.cc 2008-06-06 14:41:27.000000000 +0200
@@ -199,7 +199,7 @@
ret = tryUnusePe( d, pl, pladd, plrem, rem_pe );
++i;
}
- y2mil( "add:" << pv_add.size() << " pv:" << pv.size() << " remove:" << devs.size() );
+ y2mil( "add:" << pv_add.size() << " pv:" << pv.size() << " remove:" << pv_remove.size() );
if( ret==0 && pv_add.size()+pv.size()-devs.size()<=0 )
ret = LVM_VG_HAS_NONE_PV;
if( ret == 0 )
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-storage-2.16.25/VERSION new/yast2-storage-2.16.26/VERSION
--- old/yast2-storage-2.16.25/VERSION 2008-06-02 15:17:11.000000000 +0200
+++ new/yast2-storage-2.16.26/VERSION 2008-06-06 23:52:14.000000000 +0200
@@ -1 +1 @@
-2.16.25
+2.16.26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org