Skip to content

Commit

Permalink
Merge pull request #164 from yast/clone_s390_fix
Browse files Browse the repository at this point in the history
Clone s390 fix
  • Loading branch information
jreidinger committed Sep 23, 2014
2 parents 1b30549 + 04cb5df commit b1eb7d7
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
6 changes: 6 additions & 0 deletions package/yast2-bootloader.changes
@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Sep 23 12:15:25 UTC 2014 - jreidinger@suse.com

- Avoid crash in clone_system on s390 (bnc#897399)
- 3.1.94.4

-------------------------------------------------------------------
Thu Sep 18 15:24:43 UTC 2014 - jreidinger@suse.com

Expand Down
2 changes: 1 addition & 1 deletion package/yast2-bootloader.spec
Expand Up @@ -17,7 +17,7 @@


Name: yast2-bootloader
Version: 3.1.94.3
Version: 3.1.94.4
Release: 0

BuildRoot: %{_tmppath}/%{name}-%{version}-build
Expand Down
12 changes: 6 additions & 6 deletions src/modules/BootStorage.rb
Expand Up @@ -943,18 +943,18 @@ def ProposeDeviceMap
@device_mapping = {}
@multipath_mapping = {}

if Mode.config
Builtins.y2milestone("Skipping device map proposing in Config mode")
return
end

if Arch.s390
return propose_s390_device_map
end

usb_disks = [] # contains usb removable disks as it can affect BIOS order of disks

targetMap = {}
if Mode.config
Builtins.y2milestone("Skipping device map proposing in Config mode")
else
targetMap = Storage.GetTargetMap
end
targetMap = Storage.GetTargetMap

# filter out non-disk devices
targetMap = Builtins.filter(targetMap) do |k, v|
Expand Down

0 comments on commit b1eb7d7

Please sign in to comment.