Skip to content

Commit

Permalink
Merge pull request #279 from shundhammer/huha-fix-raid-crash
Browse files Browse the repository at this point in the history
Fixed crash in bootloader proposal if previous installation was on software RAID (bsc#955216)
  • Loading branch information
shundhammer committed Nov 17, 2015
2 parents 77c4c57 + a1cc70b commit 49d6c7c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions package/yast2-bootloader.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Nov 17 13:59:40 CET 2015 - shundhammer@suse.de

- Fixed crash in bootloader proposal if previous installation was
on software RAID (bsc#955216)
- 3.1.161

-------------------------------------------------------------------
Wed Nov 11 11:36:29 UTC 2015 - jreidinger@suse.com

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


Name: yast2-bootloader
Version: 3.1.160
Version: 3.1.161
Release: 0

BuildRoot: %{_tmppath}/%{name}-%{version}-build
Expand Down
2 changes: 1 addition & 1 deletion src/modules/BootStorage.rb
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def InitDiskInfo
next res if [:CT_LVM, :CT_EVMS].include?(info["type"])
partitions = info["partitions"]
# disk do not have to be partitioned, so skip it in such case
next unless partitions
next res unless partitions

parts = partitions.map do |p|
raid = p["used_by_type"] == :UB_MD ? p["used_by_device"] : nil
Expand Down

0 comments on commit 49d6c7c

Please sign in to comment.