Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libstorage-ng for openSUSE:Factory checked in at 2026-04-23 17:03:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libstorage-ng (Old) and /work/SRC/openSUSE:Factory/.libstorage-ng.new.11940 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libstorage-ng" Thu Apr 23 17:03:11 2026 rev:336 rq:1348490 version:4.5.314 Changes: -------- --- /work/SRC/openSUSE:Factory/libstorage-ng/libstorage-ng.changes 2026-04-18 21:30:21.674903744 +0200 +++ /work/SRC/openSUSE:Factory/.libstorage-ng.new.11940/libstorage-ng.changes 2026-04-23 17:03:19.585568033 +0200 @@ -1,0 +2,7 @@ +Tue Apr 21 10:57:35 UTC 2026 - [email protected] + +- merge gh#openSUSE/libstorage-ng#1069 +- add support for XBOOTLDR partition type (jsc#PED-16142) +- 4.5.314 + +-------------------------------------------------------------------- Old: ---- libstorage-ng-4.5.313.tar.xz New: ---- libstorage-ng-4.5.314.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libstorage-ng.spec ++++++ --- /var/tmp/diff_new_pack.FqZ204/_old 2026-04-23 17:03:20.525606760 +0200 +++ /var/tmp/diff_new_pack.FqZ204/_new 2026-04-23 17:03:20.537607254 +0200 @@ -18,7 +18,7 @@ %define libname %{name}1 Name: libstorage-ng -Version: 4.5.313 +Version: 4.5.314 Release: 0 Summary: Library for storage management License: GPL-2.0-only ++++++ libstorage-ng-4.5.313.tar.xz -> libstorage-ng-4.5.314.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.5.313/VERSION new/libstorage-ng-4.5.314/VERSION --- old/libstorage-ng-4.5.313/VERSION 2026-04-17 10:12:54.000000000 +0200 +++ new/libstorage-ng-4.5.314/VERSION 2026-04-21 12:57:35.000000000 +0200 @@ -1 +1 @@ -4.5.313 +4.5.314 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.5.313/storage/Devices/GptImpl.cc new/libstorage-ng-4.5.314/storage/Devices/GptImpl.cc --- old/libstorage-ng-4.5.313/storage/Devices/GptImpl.cc 2026-04-17 10:12:54.000000000 +0200 +++ new/libstorage-ng-4.5.314/storage/Devices/GptImpl.cc 2026-04-21 12:57:35.000000000 +0200 @@ -1,6 +1,6 @@ /* * Copyright (c) [2014-2015] Novell, Inc. - * Copyright (c) [2016-2023] SUSE LLC + * Copyright (c) [2016-2026] SUSE LLC * * All Rights Reserved. * @@ -221,6 +221,11 @@ if (contains(supported_ids, id)) return true; + // For bls_boot (name of flag in parted) parted 3.4 is needed. + + if (id == ID_XBOOTLDR && CmdPartedVersion::supports_bls_boot_flag()) + return true; + // For more ids the type command of parted 3.6 is needed. if (!CmdPartedVersion::supports_type_command()) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.5.313/storage/Devices/MsdosImpl.cc new/libstorage-ng-4.5.314/storage/Devices/MsdosImpl.cc --- old/libstorage-ng-4.5.313/storage/Devices/MsdosImpl.cc 2026-04-17 10:12:54.000000000 +0200 +++ new/libstorage-ng-4.5.314/storage/Devices/MsdosImpl.cc 2026-04-21 12:57:35.000000000 +0200 @@ -1,6 +1,6 @@ /* * Copyright (c) [2014-2015] Novell, Inc. - * Copyright (c) [2016-2023] SUSE LLC + * Copyright (c) [2016-2026] SUSE LLC * * All Rights Reserved. * @@ -168,6 +168,11 @@ if (contains(supported_ids, id)) return true; + // For bls_boot (name of flag in parted) parted 3.4 is needed. + + if (id == ID_XBOOTLDR && CmdPartedVersion::supports_bls_boot_flag()) + return true; + // For more ids the type command of parted 3.6 or the old suse specific type flag // is needed. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.5.313/storage/Devices/Partition.h new/libstorage-ng-4.5.314/storage/Devices/Partition.h --- old/libstorage-ng-4.5.313/storage/Devices/Partition.h 2026-04-17 10:12:54.000000000 +0200 +++ new/libstorage-ng-4.5.314/storage/Devices/Partition.h 2026-04-21 12:57:35.000000000 +0200 @@ -1,6 +1,6 @@ /* * Copyright (c) [2014-2015] Novell, Inc. - * Copyright (c) [2016-2024] SUSE LLC + * Copyright (c) [2016-2026] SUSE LLC * * All Rights Reserved. * @@ -124,6 +124,10 @@ /** RAID partition, for MS-DOS, GPT and DASD. */ ID_RAID = 0xfd, + /** Boot Loader Specification (https://uapi-group.org/specifications/specs/boot_loader_specification/), + for MS-DOS and GPT. Requires parted 3.4 or higher. */ + ID_XBOOTLDR = 0xea, + /** EFI System Partition, for MS-DOS and GPT. */ ID_ESP = 0xef, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.5.313/storage/Devices/PartitionImpl.cc new/libstorage-ng-4.5.314/storage/Devices/PartitionImpl.cc --- old/libstorage-ng-4.5.313/storage/Devices/PartitionImpl.cc 2026-04-17 10:12:54.000000000 +0200 +++ new/libstorage-ng-4.5.314/storage/Devices/PartitionImpl.cc 2026-04-21 12:57:35.000000000 +0200 @@ -1,6 +1,6 @@ /* * Copyright (c) [2014-2015] Novell, Inc. - * Copyright (c) [2016-2024] SUSE LLC + * Copyright (c) [2016-2026] SUSE LLC * * All Rights Reserved. * @@ -1729,6 +1729,10 @@ // TRANSLATORS: name of partition type return _("Linux RAID"); + case ID_XBOOTLDR: + // TRANSLATORS: name of partition type + return _("Extended Boot Loader"); + case ID_ESP: // TRANSLATORS: name of partition type return _("EFI System Partition"); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.5.313/storage/SystemInfo/CmdParted.cc new/libstorage-ng-4.5.314/storage/SystemInfo/CmdParted.cc --- old/libstorage-ng-4.5.313/storage/SystemInfo/CmdParted.cc 2026-04-17 10:12:54.000000000 +0200 +++ new/libstorage-ng-4.5.314/storage/SystemInfo/CmdParted.cc 2026-04-21 12:57:35.000000000 +0200 @@ -622,6 +622,7 @@ { ID_RAID, "raid" }, { ID_SWAP, "swap" }, { ID_WINDOWS_BASIC_DATA, "msftdata" }, + { ID_XBOOTLDR, "bls_boot" }, }; @@ -774,6 +775,15 @@ } + bool + CmdPartedVersion::supports_bls_boot_flag() + { + query_version(); + + return major >= 4 || (major == 3 && minor >= 4); + } + + bool CmdPartedVersion::did_set_version = false; int CmdPartedVersion::major = 0; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.5.313/storage/SystemInfo/CmdParted.h new/libstorage-ng-4.5.314/storage/SystemInfo/CmdParted.h --- old/libstorage-ng-4.5.313/storage/SystemInfo/CmdParted.h 2026-04-17 10:12:54.000000000 +0200 +++ new/libstorage-ng-4.5.314/storage/SystemInfo/CmdParted.h 2026-04-21 12:57:35.000000000 +0200 @@ -1,6 +1,6 @@ /* * Copyright (c) [2004-2014] Novell, Inc. - * Copyright (c) [2016-2023] SUSE LLC + * Copyright (c) [2016-2026] SUSE LLC * * All Rights Reserved. * @@ -235,6 +235,7 @@ static bool supports_ignore_busy(); static bool print_triggers_udev(); static bool supports_no_automount_flag(); + static bool supports_bls_boot_flag(); private:
