Hello community,

here is the log from the commit of package parted for openSUSE:Factory
checked in at Tue Sep 27 16:08:08 CEST 2011.



--------
--- parted/parted.changes       2011-09-07 17:20:03.000000000 +0200
+++ /mounts/work_src_done/STABLE/parted/parted.changes  2011-09-27 
11:17:42.000000000 +0200
@@ -1,0 +2,7 @@
+Mon Sep 26 08:41:49 UTC 2011 - [email protected]
+
+- improve parted-gpt-sync-mbr-label.patch: do not
+  sync partitions that can not be represented by the DOS label
+  (bnc#710402)
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


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

Other differences:
------------------
++++++ parted-gpt-sync-mbr-label.patch ++++++
--- /var/tmp/diff_new_pack.62zgzn/_old  2011-09-27 16:08:04.000000000 +0200
+++ /var/tmp/diff_new_pack.62zgzn/_new  2011-09-27 16:08:04.000000000 +0200
@@ -195,7 +195,21 @@
    /* Search for an EFI System Partition */
    esp = _find_first_part(disk);
    if (!esp || !esp->fs_type || strncmp (esp->fs_type->name, "fat", 3) != 0)
-@@ -1203,8 +1282,7 @@ _write_pmbr (const PedDisk *disk)
+@@ -1191,6 +1270,13 @@ _write_pmbr (const PedDisk *disk)
+           i--;
+           continue;
+       }
++
++      /* partition can not be represented by dos label - don't sync it */
++      if (part->geom.start > 0xFFFFFFFF ||
++          (part->geom.end - part->geom.start + 1) > 0xFFFFFFFF) {
++          continue;
++      }
++
+       pmbr->PartitionRecord[i].OSType      = _part_to_ostype(part);
+       pmbr->PartitionRecord[i].StartHead     = 0xFE;
+       pmbr->PartitionRecord[i].StartSector   = 0xFF;
+@@ -1203,8 +1289,7 @@ _write_pmbr (const PedDisk *disk)
            pmbr->PartitionRecord[i].BootIndicator = 0x80;
        pmbr->PartitionRecord[i].SizeInLBA = _part_32bitmax(part->geom.end - 
part->geom.start + 1);
    }
@@ -205,7 +219,7 @@
    int write_ok = ped_device_write (dev, pmbr, GPT_PMBR_LBA,
                                     GPT_PMBR_SECTORS);
    free (s0);
-@@ -1902,6 +1980,38 @@ static PedDiskOps gpt_disk_ops =
+@@ -1902,6 +1987,38 @@ static PedDiskOps gpt_disk_ops =
    PT_op_function_initializers (gpt)
  };
  
@@ -244,7 +258,7 @@
  static PedDiskType gpt_disk_type =
  {
    next:               NULL,
-@@ -1910,16 +2020,26 @@ static PedDiskType gpt_disk_type =
+@@ -1910,16 +2027,26 @@ static PedDiskType gpt_disk_type =
    features:   PED_DISK_TYPE_PARTITION_NAME
  };
  


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



Remember to have fun...

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

Reply via email to