Hello community, here is the log from the commit of package libstorage for openSUSE:Factory checked in at 2014-01-11 11:11:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libstorage (Old) and /work/SRC/openSUSE:Factory/.libstorage.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libstorage" Changes: -------- --- /work/SRC/openSUSE:Factory/libstorage/libstorage.changes 2013-12-17 07:23:07.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes 2014-01-11 11:11:50.000000000 +0100 @@ -1,0 +2,6 @@ +Thu Jan 09 15:08:59 CET 2014 - [email protected] + +- fixed setup of named RAIDs (bnc#849752) +- version 2.25.6 + +------------------------------------------------------------------- Old: ---- libstorage-2.25.5.tar.bz2 New: ---- libstorage-2.25.6.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libstorage.spec ++++++ --- /var/tmp/diff_new_pack.UHq3OM/_old 2014-01-11 11:11:51.000000000 +0100 +++ /var/tmp/diff_new_pack.UHq3OM/_new 2014-01-11 11:11:51.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package libstorage # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: libstorage -Version: 2.25.5 +Version: 2.25.6 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build Source: libstorage-%{version}.tar.bz2 ++++++ libstorage-2.25.5.tar.bz2 -> libstorage-2.25.6.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-2.25.5/VERSION new/libstorage-2.25.6/VERSION --- old/libstorage-2.25.5/VERSION 2013-12-16 15:49:57.000000000 +0100 +++ new/libstorage-2.25.6/VERSION 2014-01-10 10:37:53.000000000 +0100 @@ -1 +1 @@ -2.25.5 +2.25.6 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-2.25.5/storage/Md.cc new/libstorage-2.25.6/storage/Md.cc --- old/libstorage-2.25.5/storage/Md.cc 2013-12-03 19:02:44.000000000 +0100 +++ new/libstorage-2.25.6/storage/Md.cc 2014-01-09 15:44:25.000000000 +0100 @@ -186,7 +186,7 @@ } MdadmDetails details; - if (getMdadmDetails("/dev/" + nm, details)) + if (getMdadmDetails(dev, details)) { setMdUuid(details.uuid); } @@ -348,7 +348,7 @@ { string cmd = LSBIN " -l --full-time " + quote(devs) + " " + quote(spare) + "; " MODPROBEBIN " " + toString(md_type) + "; " MDADMBIN " --create " + quote(device()) + - " --run --level=" + toString(md_type) + " -e 1.0"; + " --run --level=" + toString(md_type) + " -e 1.0 --homehost=any"; if (md_type == RAID1 || md_type == RAID5 || md_type == RAID6 || md_type == RAID10) cmd += " -b internal"; if (chunk_k > 0) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-2.25.5/storage/Partition.cc new/libstorage-2.25.6/storage/Partition.cc --- old/libstorage-2.25.5/storage/Partition.cc 2013-11-04 16:50:24.000000000 +0100 +++ new/libstorage-2.25.6/storage/Partition.cc 2014-01-09 15:44:25.000000000 +0100 @@ -323,7 +323,7 @@ // displayed text during action, %1$s is replaced by partition name (e.g. /dev/sda1), // %2$s is replaced by partiton type (e.g. Linux LVM), %3$X is replaced by // hexadecimal number (e.g. 8E) - txt = sformat(_("Setting type of partition %1$s to %2$s (%3$X"), dev.c_str(), + txt = sformat(_("Setting type of partition %1$s to %2$s (%3$X)"), dev.c_str(), id_str.c_str(), id() ); } else diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-2.25.5/storage/gen_md5sum.cc new/libstorage-2.25.6/storage/gen_md5sum.cc --- old/libstorage-2.25.5/storage/gen_md5sum.cc 2013-12-16 14:38:56.000000000 +0100 +++ new/libstorage-2.25.6/storage/gen_md5sum.cc 2014-01-09 15:45:53.000000000 +0100 @@ -1,5 +1,5 @@ -#define SOURCES_MD5SUM "f76090c7c625b521bc92127c5ca7abee" -#define SOURCES_MD5_DATE " Mon 16 Dec 14:38:56 CET 2013 " +#define SOURCES_MD5SUM "45c9054bddcbfdc42e339bcac8ed60b8" +#define SOURCES_MD5_DATE " Thu 9 Jan 15:45:53 CET 2014 " namespace storage { const char* GetSourceMd5() { return SOURCES_MD5SUM; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-2.25.5/testsuite/partitionname.cc new/libstorage-2.25.6/testsuite/partitionname.cc --- old/libstorage-2.25.5/testsuite/partitionname.cc 2012-04-25 11:46:34.000000000 +0200 +++ new/libstorage-2.25.6/testsuite/partitionname.cc 2014-01-09 15:44:25.000000000 +0100 @@ -10,16 +10,24 @@ int main() -{ +{ setup_logger(); StorageInterface* s = createStorageInterface(TestEnvironment()); cout << s->getPartitionName("/dev/sda", 1) << endl; + cout << s->getPartitionName("/dev/cciss/c0d1", 2) << endl; + cout << s->getPartitionName("/dev/mmcblk0", 3) << endl; + cout << s->getPartitionName("/dev/mapper/isw_cfcjajfdfh_test", 4) << endl; + cout << s->getPartitionName("/dev/md2", 5) << endl; + cout << s->getPartitionName("/dev/rsxx0", 6) << endl; + + cout << s->getPartitionName("/dev/nvme0n1", 7) << endl; + delete s; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-2.25.5/testsuite/partitionprefix.cc new/libstorage-2.25.6/testsuite/partitionprefix.cc --- old/libstorage-2.25.5/testsuite/partitionprefix.cc 2013-10-14 12:31:46.000000000 +0200 +++ new/libstorage-2.25.6/testsuite/partitionprefix.cc 2014-01-09 15:44:25.000000000 +0100 @@ -10,19 +10,28 @@ int main() -{ +{ setup_logger(); StorageInterface* s = createStorageInterface(TestEnvironment()); cout << s->getPartitionPrefix("/dev/sda") << endl; cout << s->getPartitionPrefix("/dev/sda1") << endl; + cout << s->getPartitionPrefix("/dev/cciss/c0d1") << endl; cout << s->getPartitionPrefix("/dev/cciss/c0d1p2") << endl; + cout << s->getPartitionPrefix("/dev/mmcblk0") << endl; cout << s->getPartitionPrefix("/dev/mmcblk0p3") << endl; + cout << s->getPartitionPrefix("/dev/mapper/isw_cfcjajfdfh_test") << endl; cout << s->getPartitionPrefix("/dev/mapper/isw_cfcjajfdfh_test-part4") << endl; + cout << s->getPartitionPrefix("/dev/rsxx0") << endl; + cout << s->getPartitionPrefix("/dev/rsxx0p5") << endl; + + cout << s->getPartitionPrefix("/dev/nvme0n1") << endl; + cout << s->getPartitionPrefix("/dev/nvme0n1p6") << endl; + delete s; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-2.25.5/testsuite/single.out/partitionname.out new/libstorage-2.25.6/testsuite/single.out/partitionname.out --- old/libstorage-2.25.5/testsuite/single.out/partitionname.out 2013-10-14 12:31:46.000000000 +0200 +++ new/libstorage-2.25.6/testsuite/single.out/partitionname.out 2014-01-09 15:44:25.000000000 +0100 @@ -3,3 +3,5 @@ /dev/mmcblk0p3 /dev/mapper/isw_cfcjajfdfh_test-part4 /dev/md2p5 +/dev/rsxx0p6 +/dev/nvme0n1p7 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-2.25.5/testsuite/single.out/partitionprefix.out new/libstorage-2.25.6/testsuite/single.out/partitionprefix.out --- old/libstorage-2.25.5/testsuite/single.out/partitionprefix.out 2013-10-14 12:31:46.000000000 +0200 +++ new/libstorage-2.25.6/testsuite/single.out/partitionprefix.out 2014-01-09 15:44:25.000000000 +0100 @@ -6,3 +6,7 @@ p -part -part +p +p +p +p -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
