Hello community,

here is the log from the commit of package parted for openSUSE:Factory checked 
in at 2017-09-04 12:26:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/parted (Old)
 and      /work/SRC/openSUSE:Factory/.parted.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "parted"

Mon Sep  4 12:26:03 2017 rev:117 rq:519107 version:3.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/parted/parted.changes    2017-08-23 
11:53:01.708796663 +0200
+++ /work/SRC/openSUSE:Factory/.parted.new/parted.changes       2017-09-04 
12:26:07.005608656 +0200
@@ -1,0 +2,13 @@
+Thu Aug 24 16:51:37 CEST 2017 - [email protected]
+
+- Drop using deprecated configure option "--disable-Werror"
+- Drop (SUSE specific) support for hybrid pMBR (gpt_sync_mbr
+  label) (fate#317849, bsc#1041322)
+  - remove: parted-gpt-mbr-sync.patch
+  - remove: libparted-ppc-prepboot-in-syncmbr.patch
+  - remove: parted-workaround-windows7-gpt-implementation.patch
+  - refresh patches
+- libparted: Fix starting CHS in protective MBR (bsc#969165)
+  - add: libparted-fix-starting-CHS-in-protective-MBR.patch
+
+-------------------------------------------------------------------

Old:
----
  libparted-ppc-prepboot-in-syncmbr.patch
  parted-gpt-mbr-sync.patch
  parted-workaround-windows7-gpt-implementation.patch

New:
----
  libparted-fix-starting-CHS-in-protective-MBR.patch

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

Other differences:
------------------
++++++ parted.spec ++++++
--- /var/tmp/diff_new_pack.qWY47z/_old  2017-09-04 12:26:08.341420850 +0200
+++ /var/tmp/diff_new_pack.qWY47z/_new  2017-09-04 12:26:08.345420288 +0200
@@ -37,9 +37,6 @@
 Patch12:        libparted-partition-naming.patch
 #PATCH-FEATURE-SUSE more-reliable-informing-the-kernel.patch bnc#657360 
[email protected]
 Patch13:        more-reliable-informing-the-kernel.patch
-Patch14:        parted-gpt-mbr-sync.patch
-Patch15:        libparted-ppc-prepboot-in-syncmbr.patch
-Patch16:        parted-workaround-windows7-gpt-implementation.patch
 Patch17:        dummy-bootcode-only-for-x86.patch
 Patch18:        parted-type.patch
 Patch19:        parted-mac.patch
@@ -80,6 +77,7 @@
 Patch49:        libparted-set-swap-flag-on-GPT-partitions.patch
 Patch50:        libparted-dasd-add-swap-flag-handling-for-DASD-CDL.patch
 Patch51:        parted-mkpart-allow-empty-gpt-part-name.patch
+Patch52:        libparted-fix-starting-CHS-in-protective-MBR.patch
 Patch100:       parted-fatresize-autoconf.patch
 BuildRequires:  check-devel
 BuildRequires:  device-mapper-devel >= 1.02.33
@@ -136,9 +134,6 @@
 %patch11 -p1
 %patch12 -p1
 %patch13 -p1
-%patch14 -p1
-%patch15 -p1
-%patch16 -p1
 %patch17 -p1
 %patch18 -p1
 %patch19 -p1
@@ -174,6 +169,7 @@
 %patch49 -p1
 %patch50 -p1
 %patch51 -p1
+%patch52 -p1
 %patch100 -p1
 
 %build
@@ -184,7 +180,6 @@
                --enable-device-mapper=yes      \
                --enable-dynamic-loading=no     \
                --enable-selinux                \
-               --disable-Werror                \
                --disable-silent-rules
 make %{?_smp_mflags}
 

++++++ libparted-fix-starting-CHS-in-protective-MBR.patch ++++++
From: Petr Uzel <[email protected]>
Date: Thu, 10 Mar 2016 14:18:52 +0100
Subject: libparted: Fix starting CHS in protective MBR
References: bsc#969165
Patch-mainline: v3.3
Git-commit: df6770d213b60320426a3ee0bed118d063b40fc5

The CHS address for protective partition start in protective MBR
should be 0/0/2, according to UEFI spec (v2.6, section 5.2.1).

* libparted/labels/gpt.c (_write_pmbr): Fix starting CHS address

Reported by Steffen Winterfeldt in https://bugzilla.suse.com/969165

Signed-off-by: Petr Uzel <[email protected]>
---
 libparted/labels/gpt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/libparted/labels/gpt.c
+++ b/libparted/labels/gpt.c
@@ -1143,7 +1143,7 @@ _write_pmbr (PedDevice *dev, bool pmbr_b
 
   pmbr->Signature = PED_CPU_TO_LE16 (MSDOS_MBR_SIGNATURE);
   pmbr->PartitionRecord[0].OSType = EFI_PMBR_OSTYPE_EFI;
-  pmbr->PartitionRecord[0].StartSector = 1;
+  pmbr->PartitionRecord[0].StartSector = 2;
   pmbr->PartitionRecord[0].EndHead = 0xFE;
   pmbr->PartitionRecord[0].EndSector = 0xFF;
   pmbr->PartitionRecord[0].EndTrack = 0xFF;
++++++ libparted-make-BLKRRPART-more-robust.patch ++++++
--- /var/tmp/diff_new_pack.qWY47z/_old  2017-09-04 12:26:08.521395547 +0200
+++ /var/tmp/diff_new_pack.qWY47z/_new  2017-09-04 12:26:08.525394985 +0200
@@ -2,11 +2,9 @@
  libparted/arch/linux.c |   10 +++++++---
  1 file changed, 7 insertions(+), 3 deletions(-)
 
-Index: parted-3.1/libparted/arch/linux.c
-===================================================================
---- parted-3.1.orig/libparted/arch/linux.c
-+++ parted-3.1/libparted/arch/linux.c
-@@ -40,6 +40,7 @@
+--- a/libparted/arch/linux.c
++++ b/libparted/arch/linux.c
+@@ -39,6 +39,7 @@
  #include <sys/stat.h>
  #include <sys/types.h>
  #include <sys/utsname.h>        /* for uname() */
@@ -14,7 +12,7 @@
  #include <scsi/scsi.h>
  #include <assert.h>
  #ifdef ENABLE_DEVICE_MAPPER
-@@ -2901,14 +2902,15 @@ static int
+@@ -3102,14 +3103,15 @@ static int
  _kernel_reread_part_table (PedDevice* dev)
  {
          LinuxSpecific*  arch_specific = LINUX_SPECIFIC (dev);
@@ -33,7 +31,7 @@
  
                  if (!retry_count) {
                          ped_exception_throw (
-@@ -2918,10 +2920,12 @@ _kernel_reread_part_table (PedDevice* de
+@@ -3119,10 +3121,12 @@ _kernel_reread_part_table (PedDevice* de
                            "table on %s (%s).  As a result, it may not "
                            "reflect all of your changes until after reboot."),
                                  dev->path, strerror (errno));

++++++ libparted-set-swap-flag-on-GPT-partitions.patch ++++++
--- /var/tmp/diff_new_pack.qWY47z/_old  2017-09-04 12:26:08.557390486 +0200
+++ /var/tmp/diff_new_pack.qWY47z/_new  2017-09-04 12:26:08.561389924 +0200
@@ -25,7 +25,7 @@
    int raid;
    int boot;
    int bios_grub;
-@@ -918,7 +919,8 @@ _parse_part_entry (PedDisk *disk, GuidPa
+@@ -818,7 +819,8 @@ _parse_part_entry (PedDisk *disk, GuidPa
    gpt_part_data->name[i] = 0;
    gpt_part_data->translated_name = 0;
  
@@ -35,7 +35,7 @@
      = gpt_part_data->boot = gpt_part_data->hp_service
      = gpt_part_data->hidden = gpt_part_data->msftres
      = gpt_part_data->msftdata
-@@ -941,6 +943,8 @@ _parse_part_entry (PedDisk *disk, GuidPa
+@@ -841,6 +843,8 @@ _parse_part_entry (PedDisk *disk, GuidPa
      gpt_part_data->raid = 1;
    else if (!guid_cmp (gpt_part_data->type, PARTITION_LVM_GUID))
      gpt_part_data->lvm = 1;
@@ -44,7 +44,7 @@
    else if (!guid_cmp (gpt_part_data->type, PARTITION_HPSERVICE_GUID))
      gpt_part_data->hp_service = 1;
    else if (!guid_cmp (gpt_part_data->type, PARTITION_MSFT_RESERVED_GUID))
-@@ -1568,6 +1572,7 @@ gpt_partition_new (const PedDisk *disk,
+@@ -1361,6 +1365,7 @@ gpt_partition_new (const PedDisk *disk,
  
    gpt_part_data->type = PARTITION_LINUX_DATA_GUID;
    gpt_part_data->lvm = 0;
@@ -52,7 +52,7 @@
    gpt_part_data->raid = 0;
    gpt_part_data->boot = 0;
    gpt_part_data->bios_grub = 0;
-@@ -1656,6 +1661,11 @@ gpt_partition_set_system (PedPartition *
+@@ -1449,6 +1454,11 @@ gpt_partition_set_system (PedPartition *
        gpt_part_data->type = PARTITION_LVM_GUID;
        return 1;
      }
@@ -64,7 +64,7 @@
    if (gpt_part_data->raid)
      {
        gpt_part_data->type = PARTITION_RAID_GUID;
-@@ -1720,11 +1730,6 @@ gpt_partition_set_system (PedPartition *
+@@ -1513,11 +1523,6 @@ gpt_partition_set_system (PedPartition *
            gpt_part_data->type = PARTITION_APPLE_HFS_GUID;
            return 1;
          }
@@ -76,7 +76,7 @@
      }
  
    gpt_part_data->type = PARTITION_LINUX_DATA_GUID;
-@@ -1843,6 +1848,7 @@ gpt_partition_set_flag (PedPartition *pa
+@@ -1636,6 +1641,7 @@ gpt_partition_set_flag (PedPartition *pa
        if (state)
          gpt_part_data->raid
            = gpt_part_data->lvm
@@ -84,7 +84,7 @@
            = gpt_part_data->bios_grub
            = gpt_part_data->hp_service
            = gpt_part_data->msftres
-@@ -1857,6 +1863,7 @@ gpt_partition_set_flag (PedPartition *pa
+@@ -1650,6 +1656,7 @@ gpt_partition_set_flag (PedPartition *pa
        if (state)
          gpt_part_data->raid
            = gpt_part_data->lvm
@@ -92,7 +92,7 @@
            = gpt_part_data->boot
            = gpt_part_data->hp_service
            = gpt_part_data->msftres
-@@ -1871,6 +1878,7 @@ gpt_partition_set_flag (PedPartition *pa
+@@ -1664,6 +1671,7 @@ gpt_partition_set_flag (PedPartition *pa
        if (state)
          gpt_part_data->boot
            = gpt_part_data->lvm
@@ -100,7 +100,7 @@
            = gpt_part_data->bios_grub
            = gpt_part_data->hp_service
            = gpt_part_data->msftres
-@@ -1884,6 +1892,22 @@ gpt_partition_set_flag (PedPartition *pa
+@@ -1677,6 +1685,22 @@ gpt_partition_set_flag (PedPartition *pa
        gpt_part_data->lvm = state;
        if (state)
          gpt_part_data->boot
@@ -123,7 +123,7 @@
            = gpt_part_data->raid
            = gpt_part_data->bios_grub
            = gpt_part_data->hp_service
-@@ -1900,6 +1924,7 @@ gpt_partition_set_flag (PedPartition *pa
+@@ -1693,6 +1717,7 @@ gpt_partition_set_flag (PedPartition *pa
          gpt_part_data->boot
            = gpt_part_data->raid
            = gpt_part_data->lvm
@@ -131,7 +131,7 @@
            = gpt_part_data->bios_grub
            = gpt_part_data->msftres
            = gpt_part_data->msftdata
-@@ -1914,6 +1939,7 @@ gpt_partition_set_flag (PedPartition *pa
+@@ -1707,6 +1732,7 @@ gpt_partition_set_flag (PedPartition *pa
          gpt_part_data->boot
            = gpt_part_data->raid
            = gpt_part_data->lvm
@@ -139,7 +139,7 @@
            = gpt_part_data->bios_grub
            = gpt_part_data->hp_service
            = gpt_part_data->msftdata
-@@ -1928,6 +1954,7 @@ gpt_partition_set_flag (PedPartition *pa
+@@ -1721,6 +1747,7 @@ gpt_partition_set_flag (PedPartition *pa
          gpt_part_data->boot
            = gpt_part_data->raid
            = gpt_part_data->lvm
@@ -147,7 +147,7 @@
            = gpt_part_data->bios_grub
            = gpt_part_data->hp_service
            = gpt_part_data->msftres
-@@ -1946,6 +1973,7 @@ gpt_partition_set_flag (PedPartition *pa
+@@ -1739,6 +1766,7 @@ gpt_partition_set_flag (PedPartition *pa
          gpt_part_data->boot
            = gpt_part_data->raid
            = gpt_part_data->lvm
@@ -155,7 +155,7 @@
            = gpt_part_data->bios_grub
            = gpt_part_data->hp_service
            = gpt_part_data->msftdata
-@@ -1960,6 +1988,7 @@ gpt_partition_set_flag (PedPartition *pa
+@@ -1753,6 +1781,7 @@ gpt_partition_set_flag (PedPartition *pa
          gpt_part_data->boot
            = gpt_part_data->raid
            = gpt_part_data->lvm
@@ -163,7 +163,7 @@
            = gpt_part_data->bios_grub
            = gpt_part_data->hp_service
            = gpt_part_data->msftres
-@@ -1973,6 +2002,7 @@ gpt_partition_set_flag (PedPartition *pa
+@@ -1766,6 +1795,7 @@ gpt_partition_set_flag (PedPartition *pa
          gpt_part_data->boot
            = gpt_part_data->raid
            = gpt_part_data->lvm
@@ -171,7 +171,7 @@
            = gpt_part_data->bios_grub
            = gpt_part_data->hp_service
            = gpt_part_data->msftres
-@@ -1986,6 +2016,7 @@ gpt_partition_set_flag (PedPartition *pa
+@@ -1779,6 +1809,7 @@ gpt_partition_set_flag (PedPartition *pa
          gpt_part_data->boot
            = gpt_part_data->raid
            = gpt_part_data->lvm
@@ -179,7 +179,7 @@
            = gpt_part_data->bios_grub
            = gpt_part_data->hp_service
            = gpt_part_data->msftres
-@@ -2000,7 +2031,6 @@ gpt_partition_set_flag (PedPartition *pa
+@@ -1793,7 +1824,6 @@ gpt_partition_set_flag (PedPartition *pa
      case PED_PARTITION_LEGACY_BOOT:
        gpt_part_data->legacy_boot = state;
        return 1;
@@ -187,7 +187,7 @@
      case PED_PARTITION_ROOT:
      case PED_PARTITION_LBA:
      default:
-@@ -2046,6 +2076,7 @@ gpt_partition_get_flag (const PedPartiti
+@@ -1839,6 +1869,7 @@ gpt_partition_get_flag (const PedPartiti
      case PED_PARTITION_IRST:
        return gpt_part_data->irst;
      case PED_PARTITION_SWAP:
@@ -195,7 +195,7 @@
      case PED_PARTITION_LBA:
      case PED_PARTITION_ROOT:
      default:
-@@ -2062,6 +2093,7 @@ gpt_partition_is_flag_available (const P
+@@ -1855,6 +1886,7 @@ gpt_partition_is_flag_available (const P
      {
      case PED_PARTITION_RAID:
      case PED_PARTITION_LVM:
@@ -203,7 +203,7 @@
      case PED_PARTITION_BOOT:
      case PED_PARTITION_BIOS_GRUB:
      case PED_PARTITION_HPSERVICE:
-@@ -2075,7 +2107,6 @@ gpt_partition_is_flag_available (const P
+@@ -1868,7 +1900,6 @@ gpt_partition_is_flag_available (const P
      case PED_PARTITION_IRST:
      case PED_PARTITION_ESP:
        return 1;




Reply via email to