Skip to content

Commit

Permalink
Merge pull request #470 from yast/md_raid_mbr
Browse files Browse the repository at this point in the history
Md raid mbr
  • Loading branch information
jreidinger committed Nov 28, 2017
2 parents e91fa5a + 76bf885 commit 3e58af8
Show file tree
Hide file tree
Showing 5 changed files with 896 additions and 1 deletion.
6 changes: 6 additions & 0 deletions package/yast2-bootloader.changes
@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Nov 28 10:22:57 UTC 2017 - jreidinger@suse.com

- Do not propose boot from partition for md raids (bsc#1063957)
- 4.0.6

-------------------------------------------------------------------
Tue Nov 21 13:14:50 UTC 2017 - gsouza@suse.com

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


Name: yast2-bootloader
Version: 4.0.5
Version: 4.0.6
Release: 0

BuildRoot: %{_tmppath}/%{name}-%{version}-build
Expand Down
3 changes: 3 additions & 0 deletions src/lib/bootloader/stage1.rb
Expand Up @@ -172,6 +172,9 @@ def can_use_boot?
# LVM partition does not have reserved space for stage one
return false if part.lvm_pv

# MD Raid does not have reserved space for stage one (bsc#1063957)
return false if part.is?(:md) || part.ancestors.any? { |a| a.is?(:md) }

# encrypted partition does not have reserved space and it is bad idea in general (bsc#1056862)
return false if part.encrypted?

Expand Down

0 comments on commit 3e58af8

Please sign in to comment.