Hello community,

here is the log from the commit of package parted for openSUSE:Factory
checked in at Fri Sep 9 11:50:14 CEST 2011.



--------
--- parted/parted.changes       2011-09-05 14:34:13.000000000 +0200
+++ /mounts/work_src_done/STABLE/parted/parted.changes  2011-09-07 
17:20:03.000000000 +0200
@@ -1,0 +2,8 @@
+Wed Sep  7 15:05:08 UTC 2011 - [email protected]
+
+- change do-not-create-dm-nodes.patch so that parted does
+  not remove dm partition mappings and leaves the job up
+  to kpartx -u called via udev
+  (bnc#712177, bnc#679780)
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


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

Other differences:
------------------
++++++ parted.spec ++++++
--- /var/tmp/diff_new_pack.63K8ny/_old  2011-09-09 11:50:08.000000000 +0200
+++ /var/tmp/diff_new_pack.63K8ny/_new  2011-09-09 11:50:08.000000000 +0200
@@ -19,7 +19,7 @@
 
 Name:           parted
 Version:        2.4
-Release:        13
+Release:        15
 License:        GPLv3+
 Summary:        GNU partitioner
 Url:            http://www.gnu.org/software/parted/

++++++ do-not-create-dm-nodes.patch ++++++
--- /var/tmp/diff_new_pack.63K8ny/_old  2011-09-09 11:50:08.000000000 +0200
+++ /var/tmp/diff_new_pack.63K8ny/_new  2011-09-09 11:50:08.000000000 +0200
@@ -1,8 +1,8 @@
-Index: parted-1.9.0/libparted/arch/linux.c
+Index: parted-2.4/libparted/arch/linux.c
 ===================================================================
---- parted-1.9.0.orig/libparted/arch/linux.c   2009-10-07 14:14:58.000000000 
+0200
-+++ parted-1.9.0/libparted/arch/linux.c        2009-10-07 14:22:58.000000000 
+0200
-@@ -30,6 +30,7 @@
+--- parted-2.4.orig/libparted/arch/linux.c
++++ parted-2.4/libparted/arch/linux.c
+@@ -33,6 +33,7 @@
  #include <stdio.h>
  #include <syscall.h>
  #include <unistd.h>
@@ -10,7 +10,7 @@
  #include <stdbool.h>
  #include <dirent.h>
  #include <sys/ioctl.h>
-@@ -2551,29 +2552,41 @@ err:
+@@ -2770,29 +2771,39 @@ err:
  static int
  _dm_reread_part_table (PedDisk* disk)
  {
@@ -28,9 +28,8 @@
 +      FILE*           f;
  
          sync();
-         if (!_dm_remove_parts(disk->dev))
+-        if (!_dm_remove_parts(disk->dev))
 -                rc = 0;
-+                return 0;
  
 -        for (i = 1; i <= last; i++) {
 -                PedPartition*      part;


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



Remember to have fun...

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

Reply via email to