Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package yast2-storage-ng for
openSUSE:Factory checked in at 2026-01-30 18:19:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-storage-ng (Old)
and /work/SRC/openSUSE:Factory/.yast2-storage-ng.new.1995 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-storage-ng"
Fri Jan 30 18:19:33 2026 rev:181 rq:1329787 version:5.0.40
Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-storage-ng/yast2-storage-ng.changes
2026-01-17 14:52:36.197804304 +0100
+++
/work/SRC/openSUSE:Factory/.yast2-storage-ng.new.1995/yast2-storage-ng.changes
2026-01-30 18:19:53.891531348 +0100
@@ -1,0 +2,7 @@
+Thu Jan 29 09:00:40 UTC 2026 - Ancor Gonzalez Sosa <[email protected]>
+
+- Adjusted the criteria to check whether TPM-based full-disk
+ encryption is available at Agama (bsc#1257315).
+- 5.0.40
+
+-------------------------------------------------------------------
Old:
----
yast2-storage-ng-5.0.39.tar.bz2
New:
----
yast2-storage-ng-5.0.40.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-storage-ng.spec ++++++
--- /var/tmp/diff_new_pack.9MKeTu/_old 2026-01-30 18:19:54.815569903 +0100
+++ /var/tmp/diff_new_pack.9MKeTu/_new 2026-01-30 18:19:54.819570070 +0100
@@ -17,7 +17,7 @@
Name: yast2-storage-ng
-Version: 5.0.39
+Version: 5.0.40
Release: 0
Summary: YaST2 - Storage Configuration
License: GPL-2.0-only OR GPL-3.0-only
++++++ yast2-storage-ng-5.0.39.tar.bz2 -> yast2-storage-ng-5.0.40.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-storage-ng-5.0.39/package/yast2-storage-ng.changes
new/yast2-storage-ng-5.0.40/package/yast2-storage-ng.changes
--- old/yast2-storage-ng-5.0.39/package/yast2-storage-ng.changes
2026-01-15 16:21:15.000000000 +0100
+++ new/yast2-storage-ng-5.0.40/package/yast2-storage-ng.changes
2026-01-29 10:39:54.000000000 +0100
@@ -1,4 +1,11 @@
-------------------------------------------------------------------
+Thu Jan 29 09:00:40 UTC 2026 - Ancor Gonzalez Sosa <[email protected]>
+
+- Adjusted the criteria to check whether TPM-based full-disk
+ encryption is available at Agama (bsc#1257315).
+- 5.0.40
+
+-------------------------------------------------------------------
Thu Jan 15 08:26:47 UTC 2026 - Ladislav Slezák <[email protected]>
- Drop the yast2-ycp-ui-bindings dependency to avoid installing
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-storage-ng-5.0.39/package/yast2-storage-ng.spec
new/yast2-storage-ng-5.0.40/package/yast2-storage-ng.spec
--- old/yast2-storage-ng-5.0.39/package/yast2-storage-ng.spec 2026-01-15
16:21:15.000000000 +0100
+++ new/yast2-storage-ng-5.0.40/package/yast2-storage-ng.spec 2026-01-29
10:39:54.000000000 +0100
@@ -16,7 +16,7 @@
#
Name: yast2-storage-ng
-Version: 5.0.39
+Version: 5.0.40
Release: 0
Summary: YaST2 - Storage Configuration
License: GPL-2.0-only OR GPL-3.0-only
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-storage-ng-5.0.39/src/lib/y2storage/encryption_method/tpm_fde.rb
new/yast2-storage-ng-5.0.40/src/lib/y2storage/encryption_method/tpm_fde.rb
--- old/yast2-storage-ng-5.0.39/src/lib/y2storage/encryption_method/tpm_fde.rb
2026-01-15 16:21:15.000000000 +0100
+++ new/yast2-storage-ng-5.0.40/src/lib/y2storage/encryption_method/tpm_fde.rb
2026-01-29 10:39:54.000000000 +0100
@@ -80,8 +80,8 @@
false
end
- # Whether both the target system and the product being installed meet
the requisites
- # to setup devices using this encryption method.
+ # Whether the target system meets the requisites to setup devices using
this
+ # encryption method.
#
# The encryption method must be used at least for the root filesystem
(eg. is not possible to
# use it for /var but not for /), but that can't hardly be controlled
here. A separate
@@ -89,7 +89,7 @@
#
# @return [Boolean]
def possible?
- tpm_system? && tpm_product?
+ Y2Storage::Arch.new.efiboot? && tpm_present?
end
# Creates an encryption device for the given block device
@@ -109,15 +109,6 @@
EncryptionProcesses::TpmFdeTools.new(self)
end
- # Whether the system is capable of using the encryption method
- #
- # @see #possible?
- #
- # @return [Boolean]
- def tpm_system?
- Y2Storage::Arch.new.efiboot? && tpm_present?
- end
-
# Whether a TPM2 chip is present and working
#
# @see #possible?
@@ -128,20 +119,6 @@
@tpm_present = EncryptionProcesses::FdeTools.new.tpm_present?
end
-
- # Whether the product being installed has the ability to configure the
encryption method
- #
- # @see #possible?
- #
- # @return [Boolean]
- def tpm_product?
- # TODO: We should likely do some memoization of the result. But it is
not clear when
- # such memoization would be invalidated (eg. new packages available
due to some change
- # in selected product or to new repositories).
-
- # Beware: apart from true and false, AvailableAll can return nil if
things go wrong
- !!Yast::Package.AvailableAll(YastFeature::ENCRYPTION_TPM_FDE.pkg_list)
- end
end
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-storage-ng-5.0.39/test/support/devices_planner_context.rb
new/yast2-storage-ng-5.0.40/test/support/devices_planner_context.rb
--- old/yast2-storage-ng-5.0.39/test/support/devices_planner_context.rb
2026-01-15 16:21:15.000000000 +0100
+++ new/yast2-storage-ng-5.0.40/test/support/devices_planner_context.rb
2026-01-29 10:39:54.000000000 +0100
@@ -44,6 +44,10 @@
Yast::ProductFeatures.Import("partitioning" => control_file_content)
+ # Needed because of the more than questionable implementation of
preferred_bootloader
+ allow(Y2Storage::BootRequirementsStrategies::Analyzer)
+ .to receive(:bls_bootloader_proposed?).and_return false
+
allow(Y2Storage::BootRequirementsChecker).to receive(:new).and_return
boot_checker
allow(boot_checker).to receive(:needed_partitions).and_return(
[
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-storage-ng-5.0.39/test/y2storage/encryption_method/tpm_fde_test.rb
new/yast2-storage-ng-5.0.40/test/y2storage/encryption_method/tpm_fde_test.rb
---
old/yast2-storage-ng-5.0.39/test/y2storage/encryption_method/tpm_fde_test.rb
2026-01-15 16:21:15.000000000 +0100
+++
new/yast2-storage-ng-5.0.40/test/y2storage/encryption_method/tpm_fde_test.rb
2026-01-29 10:39:54.000000000 +0100
@@ -70,8 +70,6 @@
end
allow(Y2Storage::Arch).to receive(:new).and_return(arch)
-
- allow(Yast::Package).to receive(:AvailableAll).and_return pkgs_available
end
let(:arch) { instance_double("Y2Storage::Arch", efiboot?: efi) }
@@ -89,36 +87,16 @@
context "and there is a working TPM2 chip" do
let(:tpm_present) { true }
- context "and the needed packages can be installed in the target
system" do
- let(:pkgs_available) { true }
-
- it "#possible? returns true and #available? returns false" do
- expect(subject.available?).to eq false
- expect(subject.possible?).to eq true
- end
- end
-
- context "and the needed packages can not be installed in the target
system" do
- let(:pkgs_available) { false }
-
- include_examples "TPM_FDE impossible and not available"
+ it "#possible? returns true and #available? returns false" do
+ expect(subject.available?).to eq false
+ expect(subject.possible?).to eq true
end
end
context "and there is no TPM2 chip" do
let(:tpm_present) { false }
- context "and the needed packages can be installed in the target
system" do
- let(:pkgs_available) { true }
-
- include_examples "TPM_FDE impossible and not available"
- end
-
- context "and the needed packages can not be installed in the target
system" do
- let(:pkgs_available) { false }
-
- include_examples "TPM_FDE impossible and not available"
- end
+ include_examples "TPM_FDE impossible and not available"
end
end
@@ -128,33 +106,13 @@
context "and there is a working TPM2 chip" do
let(:tpm_present) { true }
- context "and the needed packages can be installed in the target
system" do
- let(:pkgs_available) { true }
-
- include_examples "TPM_FDE impossible and not available"
- end
-
- context "and the needed packages can not be installed in the target
system" do
- let(:pkgs_available) { false }
-
- include_examples "TPM_FDE impossible and not available"
- end
+ include_examples "TPM_FDE impossible and not available"
end
context "and there is no TPM2 chip" do
let(:tpm_present) { false }
- context "and the needed packages can be installed in the target
system" do
- let(:pkgs_available) { true }
-
- include_examples "TPM_FDE impossible and not available"
- end
-
- context "and the needed packages can not be installed in the target
system" do
- let(:pkgs_available) { false }
-
- include_examples "TPM_FDE impossible and not available"
- end
+ include_examples "TPM_FDE impossible and not available"
end
end
end