Hello community,

here is the log from the commit of package libstorage for openSUSE:Factory 
checked in at 2016-04-08 09:39:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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    2016-03-14 
11:42:22.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.libstorage.new/libstorage.changes       
2016-04-08 09:39:06.000000000 +0200
@@ -1,0 +2,6 @@
+Wed Apr 06 11:13:22 CEST 2016 - aschn...@suse.com
+
+- drop support for GPT with sync to MBR (fate#317849)
+- 2.25.37
+
+-------------------------------------------------------------------

Old:
----
  libstorage-2.25.36.tar.bz2

New:
----
  libstorage-2.25.37.tar.bz2

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

Other differences:
------------------
++++++ libstorage.spec ++++++
--- /var/tmp/diff_new_pack.iRlS4i/_old  2016-04-08 09:39:07.000000000 +0200
+++ /var/tmp/diff_new_pack.iRlS4i/_new  2016-04-08 09:39:07.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           libstorage
-Version:        2.25.36
+Version:        2.25.37
 Release:        0
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Source:         libstorage-%{version}.tar.bz2

++++++ libstorage-2.25.36.tar.bz2 -> libstorage-2.25.37.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.36/VERSION 
new/libstorage-2.25.37/VERSION
--- old/libstorage-2.25.36/VERSION      2016-03-11 12:10:08.000000000 +0100
+++ new/libstorage-2.25.37/VERSION      2016-04-06 11:45:10.000000000 +0200
@@ -1 +1 @@
-2.25.36
+2.25.37
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.36/storage/Disk.cc 
new/libstorage-2.25.37/storage/Disk.cc
--- old/libstorage-2.25.36/storage/Disk.cc      2016-01-18 11:10:13.000000000 
+0100
+++ new/libstorage-2.25.37/storage/Disk.cc      2016-04-06 11:45:10.000000000 
+0200
@@ -1741,19 +1741,7 @@
        SystemCmd cmd;
        cmd.execute(WIPEFSBIN " --all " + quote(device()));
 
-       string lab(label);
-       if( lab=="gpt" )
-       {
-           const ArchInfo& archinfo = getStorage()->getArchInfo();
-           if (!archinfo.is_efiboot() &&
-               (archinfo.is_x86() || (archinfo.is_ppc() && 
!archinfo.is_ppc_p8())))
-           {
-               y2mil( "archinfo:" << archinfo);
-               lab = LABEL_GPT_SYNC_MBR;
-           }
-       }
-
-       string cmd_line = PARTEDCMD + quote(device()) + " mklabel " + lab;
+       string cmd_line = PARTEDCMD + quote(device()) + " mklabel " + label;
        if (execCheckFailed(cmd_line))
        {
            ret = DISK_SET_LABEL_PARTED_FAILED;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.36/storage/StorageDefines.h 
new/libstorage-2.25.37/storage/StorageDefines.h
--- old/libstorage-2.25.36/storage/StorageDefines.h     2016-01-18 
11:10:13.000000000 +0100
+++ new/libstorage-2.25.37/storage/StorageDefines.h     2016-04-06 
11:45:10.000000000 +0200
@@ -31,7 +31,6 @@
 
 #define         PARTEDBIN           "/usr/sbin/parted"
 #define         PARTEDCMD           PARTEDBIN "  -s  "  //  blank  at  end  !!
-#define         LABEL_GPT_SYNC_MBR  "gpt_sync_mbr"
 #define         ADDPARTBIN          "/usr/sbin/addpart"
 #define         DELPARTBIN          "/usr/sbin/delpart"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.36/storage/SystemInfo/CmdParted.cc 
new/libstorage-2.25.37/storage/SystemInfo/CmdParted.cc
--- old/libstorage-2.25.36/storage/SystemInfo/CmdParted.cc      2016-01-18 
11:10:13.000000000 +0100
+++ new/libstorage-2.25.37/storage/SystemInfo/CmdParted.cc      2016-04-06 
11:45:10.000000000 +0200
@@ -93,8 +93,6 @@
            label = extractNthWord(2, *pos);
            if (label == "unknown")
                label.clear();
-           else if (label == LABEL_GPT_SYNC_MBR)
-               label = "gpt";
        }
        else
            y2war("could not find partition table");
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.36/storage/gen_md5sum.cc 
new/libstorage-2.25.37/storage/gen_md5sum.cc
--- old/libstorage-2.25.36/storage/gen_md5sum.cc        2016-03-11 
12:11:06.000000000 +0100
+++ new/libstorage-2.25.37/storage/gen_md5sum.cc        2016-04-06 
11:46:24.000000000 +0200
@@ -1,5 +1,5 @@
-#define SOURCES_MD5SUM   "0b41c176542587d3048f99c1d77f31fc"
-#define SOURCES_MD5_DATE " Fri Mar 11 11:11:06 UTC 2016 "
+#define SOURCES_MD5SUM   "84e6c3cb132757c35618e755bc008d3a"
+#define SOURCES_MD5_DATE " Wed Apr 6 09:46:24 UTC 2016 "
 namespace storage
 {
 const char* GetSourceMd5() { return SOURCES_MD5SUM; }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-2.25.36/testsuite/parted.cc 
new/libstorage-2.25.37/testsuite/parted.cc
--- old/libstorage-2.25.36/testsuite/parted.cc  2016-01-18 11:10:13.000000000 
+0100
+++ new/libstorage-2.25.37/testsuite/parted.cc  2016-04-06 11:45:10.000000000 
+0200
@@ -55,7 +55,7 @@
        "Disk /dev/sda: 60801cyl",
        "Sector size (logical/physical): 512B/512B",
        "BIOS cylinder,head,sector geometry: 60801,255,63.  Each cylinder is 
8225kB.",
-       "Partition Table: gpt_sync_mbr",
+       "Partition Table: gpt",
        "",
        "Number  Start     End       Size      File system     Name     Flags",
        " 1      0cyl      63cyl     63cyl     fat16           primary",
@@ -68,7 +68,7 @@
        "Model: ATA ST3500320NS (scsi)",
        "Disk /dev/sda: 976773168s",
        "Sector size (logical/physical): 512B/512B",
-       "Partition Table: gpt_sync_mbr",
+       "Partition Table: gpt",
        "",
        "Number  Start       End         Size        File system     Name     
Flags",
        " 1      2048s       1028095s    1026048s    fat16           primary",
@@ -522,7 +522,7 @@
        "Disk /dev/sda: 60801cyl",
        "Sector size (logical/physical): 512B/512B",
        "BIOS cylinder,head,sector geometry: 60801,255,63.  Each cylinder is 
8225kB.",
-       "Partition Table: gpt_sync_mbr",
+       "Partition Table: gpt",
        "",
        "Number  Start  End    Size   File system     Name     Flags",
        " 1      0      63     63     fat16           primary",                 
   // no "cyl" units
@@ -556,7 +556,7 @@
        "Disk /dev/sda: 60801cyl",
        "Sector size (logical/physical): 512B/512B",
        "BIOS cylinder,head,sector geometry: 60801,255,63.  Each cylinder is 
8225kB.",
-       "Partition Table: gpt_sync_mbr",
+       "Partition Table: gpt",
        "",
        "Number  Start     End       Size      File system     Name     Flags",
        " 1      0cyl      63cyl     63cyl     fat16           primary",
@@ -565,7 +565,7 @@
        "Model: ATA ST3500320NS (scsi)",
        "Disk /dev/sda: 976773168s",
        "Sector size (logical/physical): 512B/512B",
-       "Partition Table: gpt_sync_mbr",
+       "Partition Table: gpt",
        "",
        "Number  Start       End         Size        File system     Name     
Flags",
        " 1      2048s       1028095s    1026048s    fat16           primary",


Reply via email to