Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2014-05-18 06:49:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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    2014-05-06 
13:39:50.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes       
2014-05-18 06:49:20.000000000 +0200
@@ -1,0 +2,5 @@
+Thu May 15 15:00:00 CEST 2014 - [email protected]
+
+- add GPT PReP support (Boot partition for POWER architecture)
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libstorage-2.25.12.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.12/storage/Disk.cc 
new/libstorage-2.25.12/storage/Disk.cc
--- old/libstorage-2.25.12/storage/Disk.cc      2014-03-26 18:08:49.000000000 
+0100
+++ new/libstorage-2.25.12/storage/Disk.cc      2014-05-15 21:09:21.000000000 
+0200
@@ -1805,9 +1805,10 @@
 
            options << " set " << p->nr() << " boot " << 
((p->boot()||p->id()==Partition::ID_GPT_BOOT)?"on":"off");
 
-           if (label == "gpt")
+           if (label == "gpt") {
+               options << " set " << p->nr() << " prep " << 
(p->id()==Partition::ID_GPT_PREP?"on":"off");
                options << " set " << p->nr() << " bios_grub " << 
(p->id()==Partition::ID_GPT_BIOS?"on":"off");
-
+           }
            if (p->id() <= 255 && label == "msdos")
                options << " set " << p->nr() << " type " << p->id();
        }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.12/storage/Partition.cc 
new/libstorage-2.25.12/storage/Partition.cc
--- old/libstorage-2.25.12/storage/Partition.cc 2014-04-08 12:27:43.000000000 
+0200
+++ new/libstorage-2.25.12/storage/Partition.cc 2014-05-15 21:09:21.000000000 
+0200
@@ -387,7 +387,7 @@
 
     bool zero_new = getContainer()->getStorage()->getZeroNewPartitions();
     bool used_as_pv = isUsedBy(UB_LVM);
-    bool prep = id() == ID_PPC_PREP;
+    bool prep = ( id() == ID_PPC_PREP || id() == ID_GPT_PREP );
 
     y2mil("zero_new:" << zero_new << " used_as_pv:" << used_as_pv << " prep:" 
<< prep);
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.12/storage/Partition.h 
new/libstorage-2.25.12/storage/Partition.h
--- old/libstorage-2.25.12/storage/Partition.h  2014-03-17 14:46:40.000000000 
+0100
+++ new/libstorage-2.25.12/storage/Partition.h  2014-05-15 21:09:21.000000000 
+0200
@@ -40,7 +40,7 @@
                     ID_EXTENDED = 0x0f, ID_PPC_PREP = 0x41, ID_LINUX = 0x83, 
ID_SWAP = 0x82,
                     ID_LVM = 0x8e, ID_RAID = 0xfd, ID_APPLE_OTHER = 0x101, 
ID_APPLE_HFS = 0x102,
                     ID_GPT_BOOT = 0x103, ID_GPT_SERVICE = 0x104, 
ID_GPT_MSFTRES = 0x105,
-                    ID_APPLE_UFS = 0x106, ID_GPT_BIOS = 0x107 };
+                    ID_APPLE_UFS = 0x106, ID_GPT_BIOS = 0x107, ID_GPT_PREP = 
0x108 };
 
        Partition(const Disk& c, const string& name, const string& device, 
unsigned Pnr,
                  unsigned long long SizeK, const Region& cylRegion, 
PartitionType Type,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.12/storage/SystemInfo/CmdParted.cc 
new/libstorage-2.25.12/storage/SystemInfo/CmdParted.cc
--- old/libstorage-2.25.12/storage/SystemInfo/CmdParted.cc      2014-03-18 
16:59:03.000000000 +0100
+++ new/libstorage-2.25.12/storage/SystemInfo/CmdParted.cc      2014-05-15 
21:09:21.000000000 +0200
@@ -410,6 +410,10 @@
            {
                entry.id = Partition::ID_GPT_BIOS;
            }
+           if (contains(flags, "prep"))
+           {
+               entry.id = Partition::ID_GPT_PREP;
+           }
        }
        y2mil("num:" << entry.num << " id:" << entry.id << " type:" << 
toString(entry.type));
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.12/storage/Volume.cc 
new/libstorage-2.25.12/storage/Volume.cc
--- old/libstorage-2.25.12/storage/Volume.cc    2014-03-27 09:48:19.000000000 
+0100
+++ new/libstorage-2.25.12/storage/Volume.cc    2014-05-15 21:09:21.000000000 
+0200
@@ -3323,7 +3323,7 @@
                // %2$s is replaced by size (e.g. 623.5 MB)
                txt = sformat(_("Create BIOS grub volume %1$s (%2$s)"), 
dev.c_str(), sizeString().c_str());
            }
-           else if (p && p->id() == Partition::ID_PPC_PREP)
+           else if (p && (p->id() == (Partition::ID_PPC_PREP) || p->id() == 
Partition::ID_GPT_PREP))
            {
                // displayed text before action, %1$s is replaced by device 
name e.g. /dev/hda1
                // %2$s is replaced by size (e.g. 623.5 MB)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.12/storage/gen_md5sum.cc 
new/libstorage-2.25.12/storage/gen_md5sum.cc
--- old/libstorage-2.25.12/storage/gen_md5sum.cc        2014-04-22 
14:12:26.000000000 +0200
+++ new/libstorage-2.25.12/storage/gen_md5sum.cc        2014-05-15 
21:10:47.000000000 +0200
@@ -1,5 +1,5 @@
-#define SOURCES_MD5SUM   "ce93c2502ebd3b2b7021850a607862fa"
-#define SOURCES_MD5_DATE " Tue 22 Apr 14:12:26 CEST 2014 "
+#define SOURCES_MD5SUM   "0c2682b270a53ccf31ebb4ec8a7a7075"
+#define SOURCES_MD5_DATE " Thu May 15 21:10:47 CEST 2014 "
 namespace storage
 {
 const char* GetSourceMd5() { return SOURCES_MD5SUM; }

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to