Skip to content

Commit

Permalink
Merge branch 'SLE-15-SP3' into sp3-to-master
Browse files Browse the repository at this point in the history
  • Loading branch information
joseivanlopez committed Aug 3, 2021
2 parents efa7cd8 + 0a258de commit 4183c79
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 2 deletions.
6 changes: 6 additions & 0 deletions package/yast2-installation.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Aug 2 14:31:22 UTC 2021 - José Iván López González <jlopez@suse.com>

- Activate devices before probing (bsc#1187220).
- 4.4.15

-------------------------------------------------------------------
Wed Jun 16 14:10:33 UTC 2021 - José Iván López González <jlopez@suse.com>

Expand Down
2 changes: 1 addition & 1 deletion package/yast2-installation.spec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@


Name: yast2-installation
Version: 4.4.14
Version: 4.4.15
Release: 0
Summary: YaST2 - Installation Parts
License: GPL-2.0-only
Expand Down
6 changes: 5 additions & 1 deletion src/lib/installation/clients/inst_disks_activate.rb
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,11 @@ def main
end
end

Y2Storage::StorageManager.instance.probe if @disks_changed
if @disks_changed
storage = Y2Storage::StorageManager.instance
storage.activate
storage.probe
end

Builtins.y2debug("ret=%1", @ret)

Expand Down
1 change: 1 addition & 0 deletions test/inst_disks_activate_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
allow(Yast::Linuxrc).to receive(:InstallInf).with("WithFCoE").and_return("0")
allow(Yast::UI).to receive(:UserInput).and_return(:abort)

allow(Y2Storage::StorageManager.instance).to receive(:activate)
allow(Y2Storage::StorageManager.instance).to receive(:probe)

allow(Yast::SCR).to receive(:Read).with(path(".probe.disk"))
Expand Down

0 comments on commit 4183c79

Please sign in to comment.