Hello community, here is the log from the commit of package parted for openSUSE:12.2 checked in at 2012-07-03 16:46:45 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:12.2/parted (Old) and /work/SRC/openSUSE:12.2/.parted.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "parted", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:12.2/parted/parted.changes 2012-06-25 15:48:19.000000000 +0200 +++ /work/SRC/openSUSE:12.2/.parted.new/parted.changes 2012-07-03 16:46:46.000000000 +0200 @@ -1,0 +2,14 @@ +Tue Jul 3 13:31:20 UTC 2012 - [email protected] + +- copy dummy bootcode to MBR only on x86 because it can cause + problems to certain ARM machine (bnc#769789) + - add: dummy-bootcode-only-for-x86.patch + +------------------------------------------------------------------- +Tue Apr 17 13:59:13 UTC 2012 - [email protected] + +- fix informing the kernel about partitions on cciss devices + (bnc#757225) + - add: parted-fix-cciss-partition-naming.patch + +------------------------------------------------------------------- New: ---- dummy-bootcode-only-for-x86.patch parted-fix-cciss-partition-naming.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ parted.spec ++++++ --- /var/tmp/diff_new_pack.3cfVye/_old 2012-07-03 16:46:47.000000000 +0200 +++ /var/tmp/diff_new_pack.3cfVye/_new 2012-07-03 16:46:47.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package parted # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: parted Version: 2.4 Release: 0 @@ -42,6 +43,8 @@ Patch15: parted-use-ext-range.patch Patch16: parted-improve-loop-support.patch Patch17: fix-nilfs2-probe-function.patch +Patch18: parted-fix-cciss-partition-naming.patch +Patch19: dummy-bootcode-only-for-x86.patch Requires: /sbin/udevadm BuildRequires: check-devel BuildRequires: device-mapper-devel >= 1.02.33 @@ -78,8 +81,8 @@ Group: Development/Libraries/C and C++ Requires: device-mapper-devel >= 1.02.33 Requires: e2fsprogs-devel -Requires: libreiserfs-devel Requires: libparted0 = %version +Requires: libreiserfs-devel # bug437293 %ifarch ppc64 Obsoletes: parted-devel-64bit @@ -107,6 +110,8 @@ %patch15 -p1 %patch16 -p1 %patch17 -p1 +%patch18 -p1 +%patch19 -p1 %build export CFLAGS="%{optflags} `ncursesw6-config --cflags`" ++++++ dummy-bootcode-only-for-x86.patch ++++++ Index: parted-2.4/libparted/labels/dos.c =================================================================== --- parted-2.4.orig/libparted/labels/dos.c +++ parted-2.4/libparted/labels/dos.c @@ -1260,6 +1260,12 @@ msdos_write (const PedDisk* disk) return 0; DosRawTable *table = (DosRawTable *) s0; +/* + * Some ARM devices, such as the OMAP3 series, have a buggy boot rom that + * simply goes into nirvana if it finds non-0 in the first 4 bytes of the SD + * card. + */ +#if defined(__x86_64__) || defined(__i386__) /* either no bootrecord at all, or AIX IPL signature ... */ if ( (!table->boot_code[0]) || ( table->boot_code[0] == (char) 0xc9 && @@ -1270,6 +1276,7 @@ msdos_write (const PedDisk* disk) memset (table->boot_code, 0, 512); memcpy (table->boot_code, MBR_BOOT_CODE, sizeof (MBR_BOOT_CODE)); } +#endif /* If there is no unique identifier, generate a random one */ if (!table->mbr_signature) ++++++ parted-fix-cciss-partition-naming.patch ++++++ Index: parted-2.4/libparted/arch/linux.c =================================================================== --- parted-2.4.orig/libparted/arch/linux.c +++ parted-2.4/libparted/arch/linux.c @@ -2226,8 +2226,11 @@ _device_get_part_path (PedDevice *dev, i result = zasprintf ("%.*s/part%d", (int) (path_len - 5), dev->path, num); } else { - char const *p = (dev->type == PED_DEVICE_DAC960 - || dev->type == PED_DEVICE_CPQARRAY + const char *p; + if (dev->type == PED_DEVICE_CPQARRAY) + p = "p"; + else + p = (dev->type == PED_DEVICE_DAC960 || dev->type == PED_DEVICE_ATARAID || dev->type == PED_DEVICE_DM || isdigit (dev->path[path_len - 1]) -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
