Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package parted for openSUSE:Factory checked in at 2021-07-30 23:21:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/parted (Old) and /work/SRC/openSUSE:Factory/.parted.new.1899 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "parted" Fri Jul 30 23:21:52 2021 rev:133 rq:908832 version:3.4 Changes: -------- --- /work/SRC/openSUSE:Factory/parted/parted.changes 2021-03-29 18:21:28.798243963 +0200 +++ /work/SRC/openSUSE:Factory/.parted.new.1899/parted.changes 2021-07-30 23:21:56.779651586 +0200 @@ -1,0 +2,16 @@ +Mon Jul 26 16:50:36 CEST 2021 - [email protected] + +- update to version 3.4: + * Add new partition type flags chromeos_kernel and bls_boot. + * Add support for the F2FS filesystem. + refreshed patches: + - dummy-bootcode-only-for-x86.patch + - parted-fix-resizepart-and-rm-command.patch + - parted-type.patch + - parted-wipeaix.patch + - tests-adapt-to-SUSE.patch + removed patches: + - parted-fix-end_input-usage.patch + - parted-resize-alias-to-resizepart.patch + +------------------------------------------------------------------- @@ -1841 +1856,0 @@ - Old: ---- parted-3.3.tar.xz parted-3.3.tar.xz.sig parted-fix-end_input-usage.patch parted-resize-alias-to-resizepart.patch New: ---- parted-3.4.tar.xz parted-3.4.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ parted.spec ++++++ --- /var/tmp/diff_new_pack.O6mWIu/_old 2021-07-30 23:21:57.867650391 +0200 +++ /var/tmp/diff_new_pack.O6mWIu/_new 2021-07-30 23:21:57.871650386 +0200 @@ -17,7 +17,7 @@ Name: parted -Version: 3.3 +Version: 3.4 Release: 0 Summary: GNU partitioner License: GPL-3.0-or-later @@ -43,8 +43,6 @@ Patch17: libparted-use-BLKRRPART-for-DASD.patch.patch Patch18: libparted-make-BLKRRPART-more-robust.patch Patch19: libparted-dasd-implicit-partition-disk-flag.patch -# Remove following compatibility patch once bnc#931765 is resolved -Patch20: parted-resize-alias-to-resizepart.patch Patch21: libparted-avoid-libdevice-mapper-warnings.patch # Patch31 dropped for bsc#1058667 Patch22: libparted-open-the-device-RO-and-lazily-switch-to-RW.patch @@ -62,7 +60,6 @@ Patch32: parted-fix-resizepart-and-rm-command.patch Patch33: libparted-use-BLKRRPART-only-when-needed.patch Patch34: libparted-canonicalize-dev-md-paths.patch -Patch35: parted-fix-end_input-usage.patch # bsc#1168756 Patch36: libparted-linux-pmem-path.patch @@ -80,6 +77,7 @@ # SUSE tests patches Patch200: tests-adapt-to-SUSE.patch + BuildRequires: check-devel BuildRequires: device-mapper-devel >= 1.02.33 BuildRequires: libblkid-devel >= 2.17 @@ -124,6 +122,7 @@ to develop applications that require these. %lang_package + %prep %setup -a 4 %patch1 -p1 @@ -137,7 +136,6 @@ %patch17 -p1 %patch18 -p1 %patch19 -p1 -%patch20 -p1 %patch21 -p1 %patch22 -p1 %patch23 -p1 @@ -152,7 +150,6 @@ %patch32 -p1 %patch33 -p1 %patch34 -p1 -%patch35 -p1 %patch36 -p1 %patch37 -p1 %patch64 -p1 ++++++ dummy-bootcode-only-for-x86.patch ++++++ --- /var/tmp/diff_new_pack.O6mWIu/_old 2021-07-30 23:21:57.915650338 +0200 +++ /var/tmp/diff_new_pack.O6mWIu/_new 2021-07-30 23:21:57.915650338 +0200 @@ -23,7 +23,7 @@ if ( (!table->boot_code[0]) || ( table->boot_code[0] == (char) 0xc9 && @@ -1297,6 +1303,7 @@ msdos_write (const PedDisk* disk) - memset (table->boot_code, 0, 512); + memset (table, 0, 512); memcpy (table->boot_code, MBR_BOOT_CODE, sizeof (MBR_BOOT_CODE)); } +#endif ++++++ parted-3.3.tar.xz -> parted-3.4.tar.xz ++++++ ++++ 128533 lines of diff (skipped) ++++++ parted-fix-resizepart-and-rm-command.patch ++++++ --- /var/tmp/diff_new_pack.O6mWIu/_old 2021-07-30 23:21:58.607649578 +0200 +++ /var/tmp/diff_new_pack.O6mWIu/_new 2021-07-30 23:21:58.607649578 +0200 @@ -65,18 +65,18 @@ + const int end_idx = 2; + const bool danger_if_busy = false; int rc = 0; - - if (!disk) { + char* end_input = NULL; + char* end_size = NULL; @@ -1671,7 +1682,8 @@ do_resizepart (PedDevice** dev, PedDisk* - - if (!command_line_get_partition (_("Partition number?"), disk, &part)) - goto error; + } + + /* If the partition is busy this may clear the command_line and prompt the user */ - if (!_partition_warn_busy (part)) + /* warn early if the partition end is not provided on cmdline */ + if (cmdline_words <= part_idx && !_partition_warn_busy (part, danger_if_busy)) goto error; - start = part->geom.start; + /* Push the End value back onto the command_line, if it exists */ @@ -1681,19 +1693,32 @@ do_resizepart (PedDevice** dev, PedDisk* goto error; _adjust_end_if_iec(&start, &end, range_end, end_input); ++++++ parted-type.patch ++++++ --- /var/tmp/diff_new_pack.O6mWIu/_old 2021-07-30 23:21:58.631649552 +0200 +++ /var/tmp/diff_new_pack.O6mWIu/_new 2021-07-30 23:21:58.631649552 +0200 @@ -16,16 +16,16 @@ =================================================================== --- parted-3.3.orig/include/parted/disk.in.h +++ parted-3.3/include/parted/disk.in.h -@@ -75,10 +75,11 @@ enum _PedPartitionFlag { - PED_PARTITION_LEGACY_BOOT=15, - PED_PARTITION_MSFT_DATA=16, +@@ -78,10 +78,11 @@ PED_PARTITION_IRST=17, -- PED_PARTITION_ESP=18 -+ PED_PARTITION_ESP=18, -+ PED_PARTITION_TYPE=19 + PED_PARTITION_ESP=18, + PED_PARTITION_CHROMEOS_KERNEL=19, +- PED_PARTITION_BLS_BOOT=20 ++ PED_PARTITION_BLS_BOOT=20, ++ PED_PARTITION_TYPE=21 }; #define PED_PARTITION_FIRST_FLAG PED_PARTITION_BOOT --#define PED_PARTITION_LAST_FLAG PED_PARTITION_ESP +-#define PED_PARTITION_LAST_FLAG PED_PARTITION_BLS_BOOT +#define PED_PARTITION_LAST_FLAG PED_PARTITION_TYPE enum _PedDiskTypeFeature { ++++++ parted-wipeaix.patch ++++++ --- /var/tmp/diff_new_pack.O6mWIu/_old 2021-07-30 23:21:58.639649543 +0200 +++ /var/tmp/diff_new_pack.O6mWIu/_new 2021-07-30 23:21:58.639649543 +0200 @@ -21,6 +21,6 @@ + table->boot_code[2] == (char) 0xd4 && + table->boot_code[3] == (char) 0xc1) + ) { - memset (table->boot_code, 0, 512); + memset (table, 0, 512); memcpy (table->boot_code, MBR_BOOT_CODE, sizeof (MBR_BOOT_CODE)); } ++++++ tests-adapt-to-SUSE.patch ++++++ --- /var/tmp/diff_new_pack.O6mWIu/_old 2021-07-30 23:21:58.663649516 +0200 +++ /var/tmp/diff_new_pack.O6mWIu/_new 2021-07-30 23:21:58.663649516 +0200 @@ -47,11 +47,11 @@ parted -m -s $dev u s p > out 2>&1 || fail=1 sed -n 3p out > k && mv k out || fail=1 --printf "1:$default_start:$new_end:3073s:::$ms;\n" > exp || fail=1 -+printf "1:$default_start:$new_end:3073s:::type=83;\n" > exp || fail=1 +-printf "1:$default_start:$new_end:3073s:ext2::$ms;\n" > exp || fail=1 ++printf "1:$default_start:$new_end:3073s:ext2::type=83;\n" > exp || fail=1 compare exp out || fail=1 - # Remove the partition explicitly, so that mklabel doesn't evoke a warning. + umount "${dev}1" || fail=1 Index: parted-3.3/tests/t3300-palo-prep.sh =================================================================== --- parted-3.3.orig/tests/t3300-palo-prep.sh
