Hello community, here is the log from the commit of package parted for openSUSE:Factory checked in at 2012-11-22 16:52:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/parted (Old) and /work/SRC/openSUSE:Factory/.parted.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "parted", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/parted/parted.changes 2012-10-03 09:21:42.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.parted.new/parted.changes 2012-11-22 16:52:43.000000000 +0100 @@ -1,0 +2,8 @@ +Wed Nov 21 10:32:05 UTC 2012 - [email protected] + +- add fix-error-informing-the-kernel.patch: + Informing the kernel about partition changes still fails if first + logical partition starts right after the extended partition. Fix + it. + +------------------------------------------------------------------- New: ---- fix-error-informing-the-kernel.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ parted.spec ++++++ --- /var/tmp/diff_new_pack.WrAMoX/_old 2012-11-22 16:52:45.000000000 +0100 +++ /var/tmp/diff_new_pack.WrAMoX/_new 2012-11-22 16:52:45.000000000 +0100 @@ -47,6 +47,7 @@ Patch19: dummy-bootcode-only-for-x86.patch Patch20: parted-stdio.h.patch Patch21: parted-workaround-windows7-gpt-implementation.patch +Patch22: fix-error-informing-the-kernel.patch Requires: /sbin/udevadm BuildRequires: check-devel BuildRequires: device-mapper-devel >= 1.02.33 @@ -116,6 +117,7 @@ %patch19 -p1 %patch20 -p1 %patch21 -p1 +%patch22 -p1 %build export CFLAGS="%{optflags} `ncursesw6-config --cflags`" ++++++ fix-error-informing-the-kernel.patch ++++++ --- libparted/arch/linux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: parted-2.4/libparted/arch/linux.c =================================================================== --- parted-2.4.orig/libparted/arch/linux.c +++ parted-2.4/libparted/arch/linux.c @@ -2376,7 +2376,7 @@ _blkpg_add_partition (PedDisk* disk, con linux_part.start = part->geom.start * disk->dev->sector_size; /* see fs/partitions/msdos.c:msdos_partition(): "leave room for LILO" */ if (part->type & PED_PARTITION_EXTENDED) - linux_part.length = part->geom.length == 1 ? 512 : 1024; + linux_part.length = PED_SECTOR_SIZE_DEFAULT; else linux_part.length = part->geom.length * disk->dev->sector_size; linux_part.pno = part->num; -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
