Closed shundhammer closed 5 months ago
This arrived in IBS:
-------------------------------------------------------------------
Thu Feb 22 08:32:24 UTC 2024 - Stefan Hundhammer <shundhammer@suse.com>
- Added new libstorage enum value UF_BCACHEFS to fix build failure
(bsc#1219804)
- 4.6.16
-------------------------------------------------------------------
Wed Feb 14 09:11:06 UTC 2024 - Michal Filka <mfilka@suse.com>
- jsc#PED-6407
- new env variable YAST_REUSE_LVM for reusing LVM in new
installation. It can be used as linuxrc boot param.
- 4.6.15
-------------------------------------------------------------------
Target Branch
This is a backport to SLE-15-SP6 of PR #1367.
It was a bit unexpected to see this new libstorage-ng feature appear in SP6, hence this backport and not our usual procedure to change the oldest affected branch first and then merge that forward until master.
Bugzilla
https://bugzilla.suse.com/show_bug.cgi?id=1219804
Problem
Build failure with latest libstorage-ng:
Cause
libstorage-ng now has support for bcachefs, including a new enum value
BCACHEFS
.We have a unit test to check if all values of this C++ libstorage-ng enum for storage features are covered on the Ruby side in yast-storage-ng in this map:
https://github.com/yast/yast-storage-ng/blob/master/src/lib/y2storage/storage_feature.rb#L55-L102
The map contains support packages for each storage feature; packages that need to be installed when the feature is used.
Fix
Added a map entry for this new enum value.
What Support Packages are Needed?
Right now none since there is no support for bcachefs in yast-storage-ng for the time being. libstorage may detect it during storage probing, but we will not propose it, and the expert partitioner does not support adding it.
Future Support Packages
There is package bcachefs-tools which will be needed when this is implemented on the Ruby side (in yast-storage-ng), too.
https://build.opensuse.org/package/show/openSUSE:Factory/bcache-tools
Add this Immediately?
No, this might lead to unrecoverable situations if a bcachefs is detected during storage probing, so that package would be requested from the libzypp pool, but it might not be available for the current product.
We would have to add it to
OPTIONAL_PACKAGES
as well for the time being, but it might be left over there when the feature is implemented, leading to more obscure problems.https://github.com/yast/yast-storage-ng/blob/master/src/lib/y2storage/storage_feature.rb#L112
For now, it's just in a comment as a reminder to add it in the future.
Related PR
Original for master: PR #1367