Hello community, here is the log from the commit of package parted for openSUSE:Leap:15.2 checked in at 2020-05-14 16:57:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/parted (Old) and /work/SRC/openSUSE:Leap:15.2/.parted.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "parted" Thu May 14 16:57:58 2020 rev:43 rq:805412 version:3.2 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/parted/parted.changes 2020-01-15 15:39:15.567104570 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.parted.new.2738/parted.changes 2020-05-14 16:58:04.298736640 +0200 @@ -1,0 +2,17 @@ +Wed Apr 8 16:30:10 UTC 2020 - Anna Maresova <[email protected]> + +- fix null pointer dereference (bsc#1168756) + - change: parted-print-max-partitions-for-yast.patch + +------------------------------------------------------------------- +Wed Mar 25 17:15:11 UTC 2020 - Anna Maresova <[email protected]> + +- print maximum number of partitions for yast (bsc#1161783) + - add: parted-print-max-partitions-for-yast.patch + +------------------------------------------------------------------- +Thu Feb 27 14:44:17 UTC 2020 - Anna Maresova <[email protected]> + +- make parted work with pmemXs devices (bsc#1164260) + +------------------------------------------------------------------- New: ---- libparted-linux-pmem-path.patch parted-print-max-partitions-for-yast.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ parted.spec ++++++ --- /var/tmp/diff_new_pack.FX7K4J/_old 2020-05-14 16:58:05.218738401 +0200 +++ /var/tmp/diff_new_pack.FX7K4J/_new 2020-05-14 16:58:05.222738409 +0200 @@ -99,6 +99,9 @@ Patch70: libparted-dasd-add-an-exception-for-changing-DASD-LD.patch Patch71: libparted-dasd-add-test-cases-for-the-new-fdasd-func.patch +#bsc#1161783 +Patch72: parted-print-max-partitions-for-yast.patch + # Fatresize Patch100: parted-fatresize-autoconf.patch Patch101: fatresize-fix-getting-dev-name.patch @@ -112,6 +115,9 @@ Patch156: tests-add-helper-require_swap_.patch Patch157: tests-add-dev-md-check-to-t6100.patch +# bsc#1164260 +Patch158: libparted-linux-pmem-path.patch + # SUSE tests patches Patch200: tests-adapt-to-SUSE.patch BuildRequires: check-devel @@ -222,6 +228,7 @@ %patch69 -p1 %patch70 -p1 %patch71 -p1 +%patch72 -p1 %patch100 -p1 %patch101 -p1 %patch150 -p1 @@ -232,6 +239,7 @@ %patch155 -p1 %patch156 -p1 %patch157 -p1 +%patch158 -p1 %patch200 -p1 %build ++++++ libparted-linux-pmem-path.patch ++++++ libparted/arch/linux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- parted-3.2/libparted/arch/linux.c +++ parted-3.2/libparted/arch/linux.c @@ -2440,7 +2440,7 @@ _device_get_part_path (PedDevice const * dev->type == PED_DEVICE_CPQARRAY || dev->type == PED_DEVICE_DAC960 || dev->type == PED_DEVICE_NVME || - dev->type == PED_DEVICE_PMEM || + ((dev->type == PED_DEVICE_PMEM) && (!isdigit (devpath[path_len -1 ]))) || dev->type == PED_DEVICE_SDMMC) p = "p"; else if (dev->type == PED_DEVICE_DM) ++++++ parted-print-max-partitions-for-yast.patch ++++++ From: Anna Maresova <[email protected]> Date: Wed Mar 25 18:17:28 CET 2020 Subject: parted: print maximum number of partitions for yast Patch-mainline: no, custom SUSE patch Index: parted-3.2/parted/parted.c =================================================================== --- parted-3.2.orig/parted/parted.c +++ parted-3.2/parted/parted.c @@ -1118,10 +1118,13 @@ _print_disk_info (const PedDevice *dev, break; } - printf ("%s:%s:%s:%lld:%lld:%s:%s:%s;\n", + printf ("%s:%s:%s:%lld:%lld:%s:%s:%s", path, end, transport[dev->type], dev->sector_size, dev->phys_sector_size, pt_name, dev->model, disk_flags); + if (getenv("PARTED_PRINT_NUMBER_OF_PARTITION_SLOTS")) + printf(":%lld", diskp && diskp->type->ops->get_max_primary_partition_count ? diskp->type->ops->get_max_primary_partition_count(diskp) : 0); + printf(";\n"); free(path); } else { printf (_("Model: %s (%s)\n"),
