Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package parted for openSUSE:Factory checked in at 2024-02-01 18:04:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/parted (Old) and /work/SRC/openSUSE:Factory/.parted.new.1815 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "parted" Thu Feb 1 18:04:21 2024 rev:141 rq:1143286 version:3.6 Changes: -------- --- /work/SRC/openSUSE:Factory/parted/parted.changes 2023-10-06 21:13:12.805189229 +0200 +++ /work/SRC/openSUSE:Factory/.parted.new.1815/parted.changes 2024-02-01 18:04:34.681378813 +0100 @@ -1,0 +2,18 @@ +Wed Jan 31 11:13:02 CET 2024 - aschn...@suse.com + +- update to version 3.6: + - Support GPT partition attribute bit 63 as no_automount flag + - Add type commands to set type-id on MS-DOS and type-uuid on GPT + - Add swap flag support to the dasd disklabel + - Add display of GPT disk and partition UUIDs in JSON output + refreshed patches: + - parted-mac.patch + - libparted-dasd-implicit-partition-disk-flag.patch + - tests-disable.patch + removed patches: + - direct-handling-of-partition-type-id-and-uuid.patch + - type-command.patch + - libparted-dasd-improve-lvm-raid-flag-handling.patch + - libparted-dasd-add-swap-flag-handling-for-DASD-CDL.patch + +------------------------------------------------------------------- @@ -137,2 +155,2 @@ - - Fix fat resize to preverve boot code, and thus not render the - filesystem unreconized by Windows. + - Fix fat resize to preserve boot code, and thus not render the + filesystem unrecognized by Windows. @@ -227 +245 @@ - 0b7946a, remove unneccesary information of command line + 0b7946a, remove unnecessary information of command line @@ -1374 +1392 @@ - added check to test if tty is availabe, if no tty is available + added check to test if tty is available, if no tty is available @@ -1776 +1794 @@ -- fix bug occuring sometimes when resizing reiserfs from YaST2 +- fix bug occurring sometimes when resizing reiserfs from YaST2 Old: ---- direct-handling-of-partition-type-id-and-uuid.patch libparted-dasd-add-swap-flag-handling-for-DASD-CDL.patch libparted-dasd-improve-lvm-raid-flag-handling.patch parted-3.5.tar.xz parted-3.5.tar.xz.sig type-command.patch New: ---- parted-3.6.tar.xz parted-3.6.tar.xz.sig BETA DEBUG BEGIN: Old: removed patches: - direct-handling-of-partition-type-id-and-uuid.patch - type-command.patch Old: - libparted-dasd-improve-lvm-raid-flag-handling.patch - libparted-dasd-add-swap-flag-handling-for-DASD-CDL.patch Old: - type-command.patch - libparted-dasd-improve-lvm-raid-flag-handling.patch - libparted-dasd-add-swap-flag-handling-for-DASD-CDL.patch Old: - direct-handling-of-partition-type-id-and-uuid.patch - type-command.patch - libparted-dasd-improve-lvm-raid-flag-handling.patch BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ parted.spec ++++++ --- /var/tmp/diff_new_pack.gjLWy9/_old 2024-02-01 18:04:37.413471132 +0100 +++ /var/tmp/diff_new_pack.gjLWy9/_new 2024-02-01 18:04:37.413471132 +0100 @@ -1,7 +1,7 @@ # # spec file for package parted # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: parted -Version: 3.5 +Version: 3.6 Release: 0 Summary: GNU partitioner License: GPL-3.0-or-later @@ -49,10 +49,7 @@ Patch23: parted-implement-wipesignatures-option.patch # bsc#982169 Patch24: libparted-fix-nvme-partition-naming.patch -# fate#314888 -Patch25: libparted-dasd-improve-lvm-raid-flag-handling.patch Patch26: parted-mkpart-set-a-swap-flag-if-available.patch -Patch27: libparted-dasd-add-swap-flag-handling-for-DASD-CDL.patch Patch29: libparted-fix-NVDIMM-partition-naming.patch Patch31: parted-add-ignore-busy-option.patch Patch32: parted-fix-resizepart-and-rm-command.patch @@ -62,8 +59,6 @@ Patch36: libparted-linux-pmem-path.patch # bsc#1164260 Patch37: parted-print-max-partitions-for-yast.patch -Patch38: direct-handling-of-partition-type-id-and-uuid.patch -Patch39: type-command.patch # bsc#1164907 # Fatresize Patch100: parted-fatresize-autoconf.patch @@ -147,9 +142,7 @@ %patch22 -p1 %patch23 -p1 %patch24 -p1 -%patch25 -p1 %patch26 -p1 -%patch27 -p1 %patch29 -p1 %patch31 -p1 %patch32 -p1 @@ -157,8 +150,6 @@ %patch34 -p1 %patch36 -p1 %patch37 -p1 -%patch38 -p1 -%patch39 -p1 %patch100 -p1 %patch156 -p1 %patch157 -p1 ++++++ libparted-dasd-implicit-partition-disk-flag.patch ++++++ --- /var/tmp/diff_new_pack.gjLWy9/_old 2024-02-01 18:04:37.457472619 +0100 +++ /var/tmp/diff_new_pack.gjLWy9/_new 2024-02-01 18:04:37.457472619 +0100 @@ -11,16 +11,17 @@ =================================================================== --- parted-3.3.orig/include/parted/disk.in.h +++ parted-3.3/include/parted/disk.in.h -@@ -38,9 +38,11 @@ enum _PedDiskFlag { +@@ -38,10 +38,12 @@ enum _PedDiskFlag { PED_DISK_CYLINDER_ALIGNMENT=1, /* This flag controls whether the boot flag of a GPT PMBR is set */ PED_DISK_GPT_PMBR_BOOT=2, + /* This flag indicates that there is an implicit (aka fake) partition on the DASD disk */ + PED_DISK_DASD_IMPLICIT_PARTITION=3, }; - #define PED_DISK_FIRST_FLAG PED_DISK_CYLINDER_ALIGNMENT --#define PED_DISK_LAST_FLAG PED_DISK_GPT_PMBR_BOOT -+#define PED_DISK_LAST_FLAG PED_DISK_DASD_IMPLICIT_PARTITION + // NOTE: DO NOT define using enums + #define PED_DISK_FIRST_FLAG 1 // PED_DISK_CYLINDER_ALIGNMENT +-#define PED_DISK_LAST_FLAG 2 // PED_DISK_GPT_PMBR_BOOT ++#define PED_DISK_LAST_FLAG 3 // PED_DISK_DASD_IMPLICIT_PARTITION /** * Partition types @@ -60,13 +61,13 @@ #include "pt-common.h" PT_define_limit_functions (dasd) -@@ -116,6 +121,9 @@ static PedDiskOps dasd_disk_ops = { - - partition_set_name: NULL, - partition_get_name: NULL, +@@ -122,6 +122,9 @@ + partition_get_type_id: NULL, + partition_set_type_uuid: NULL, + partition_get_type_uuid: NULL, + disk_set_flag: dasd_disk_set_flag, + disk_get_flag: dasd_disk_get_flag, -+ disk_is_flag_available: dasd_disk_is_flag_available, ++ disk_is_flag_available: dasd_disk_is_flag_available, get_partition_alignment: dasd_get_partition_alignment, ++++++ more-reliable-informing-the-kernel.patch ++++++ --- /var/tmp/diff_new_pack.gjLWy9/_old 2024-02-01 18:04:37.485473566 +0100 +++ /var/tmp/diff_new_pack.gjLWy9/_new 2024-02-01 18:04:37.489473700 +0100 @@ -4,7 +4,7 @@ Patch-mainline: no This patch should make parted's process of informing the kernel -about changes of partition table sligtly more reliable. +about changes of partition table slightly more reliable. It consists of 2 quite unrelated parts: * increase the max sleep time if partition is busy from 1 to 2 seconds ++++++ parted-3.5.tar.xz -> parted-3.6.tar.xz ++++++ ++++ 84945 lines of diff (skipped) ++++++ parted-mac.patch ++++++ --- /var/tmp/diff_new_pack.gjLWy9/_old 2024-02-01 18:04:38.053492759 +0100 +++ /var/tmp/diff_new_pack.gjLWy9/_new 2024-02-01 18:04:38.057492895 +0100 @@ -12,21 +12,20 @@ =================================================================== --- parted-3.3.orig/include/parted/disk.in.h +++ parted-3.3/include/parted/disk.in.h -@@ -83,10 +83,11 @@ enum _PedPartitionFlag { - - enum _PedDiskTypeFeature { - PED_DISK_TYPE_EXTENDED=1, /**< supports extended partitions */ -- PED_DISK_TYPE_PARTITION_NAME=2 /**< supports partition names */ -+ PED_DISK_TYPE_PARTITION_NAME=2, /**< supports partition names */ -+ PED_DISK_TYPE_SYSTEM_NAME=4 /**< supports system names */ +@@ -101,10 +101,11 @@ + PED_DISK_TYPE_PARTITION_TYPE_UUID=8, /**< supports partition type-uuids */ + PED_DISK_TYPE_DISK_UUID=16, /**< supports disk uuids */ + PED_DISK_TYPE_PARTITION_UUID=32, /**< supports partition uuids */ ++ PED_DISK_TYPE_SYSTEM_NAME=64 /**< supports system names */ }; - #define PED_DISK_TYPE_FIRST_FEATURE PED_DISK_TYPE_EXTENDED --#define PED_DISK_TYPE_LAST_FEATURE PED_DISK_TYPE_PARTITION_NAME -+#define PED_DISK_TYPE_LAST_FEATURE PED_DISK_TYPE_SYSTEM_NAME + // NOTE: DO NOT define using enums + #define PED_DISK_TYPE_FIRST_FEATURE 1 // PED_DISK_TYPE_EXTENDED +-#define PED_DISK_TYPE_LAST_FEATURE 32 // PED_DISK_TYPE_PARTITION_UUID ++#define PED_DISK_TYPE_LAST_FEATURE 64 // PED_DISK_TYPE_SYSTEM_NAME struct _PedDisk; struct _PedPartition; -@@ -246,6 +247,8 @@ struct _PedDiskOps { +@@ -274,6 +275,8 @@ /* other */ int (*alloc_metadata) (PedDisk* disk); int (*get_max_primary_partition_count) (const PedDisk* disk); @@ -35,15 +34,15 @@ bool (*get_max_supported_partition_count) (const PedDisk* disk, int* supported); PedAlignment *(*get_partition_alignment)(const PedDisk *disk); -@@ -337,7 +340,9 @@ extern int ped_partition_is_flag_availab - extern int ped_partition_set_system (PedPartition* part, - const PedFileSystemType* fs_type); +@@ -369,6 +372,9 @@ extern int ped_partition_set_name (PedPartition* part, const char* name); -+extern int ped_partition_set_system_name (PedPartition* part, const char* name); extern const char* ped_partition_get_name (const PedPartition* part); + ++extern int ped_partition_set_system_name (PedPartition* part, const char* name); +extern const char* ped_partition_get_system_name (const PedPartition* part); - extern int ped_partition_is_busy (const PedPartition* part); - extern char* ped_partition_get_path (const PedPartition* part); ++ + extern int ped_partition_set_type_id (PedPartition* part, uint8_t id); + extern uint8_t ped_partition_get_type_id (const PedPartition* part); Index: parted-3.3/libparted/disk.c =================================================================== ++++++ tests-disable.patch ++++++ --- /var/tmp/diff_new_pack.gjLWy9/_old 2024-02-01 18:04:38.093494111 +0100 +++ /var/tmp/diff_new_pack.gjLWy9/_new 2024-02-01 18:04:38.097494246 +0100 @@ -2,20 +2,22 @@ index c92a3a3..915bbc4 100644 --- a/libparted/tests/Makefile.am +++ b/libparted/tests/Makefile.am -@@ -3,7 +3,7 @@ - # +@@ -4,7 +4,7 @@ # This file may be modified and/or distributed without restriction. --TESTS = t1000-label.sh t2000-disk.sh t2100-zerolen.sh t3000-symlink.sh t4000-volser.sh -+TESTS = t1000-label.sh t2000-disk.sh t2100-zerolen.sh t3000-symlink.sh + TESTS = t1000-label.sh t1001-flags.sh t2000-disk.sh t2100-zerolen.sh \ +- t3000-symlink.sh t4000-volser.sh ++ t3000-symlink.sh EXTRA_DIST = $(TESTS) - check_PROGRAMS = label disk zerolen symlink volser + check_PROGRAMS = label disk zerolen symlink volser flags AM_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS) + + diff --git a/tests/Makefile.am b/tests/Makefile.am index f9340aa..9d0d08f 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am -@@ -60,7 +60,6 @@ TESTS = \ +@@ -63,7 +63,6 @@ t3200-type-change.sh \ t3210-gpt-type-change.sh \ t3300-palo-prep.sh \