Skip to content

Commit

Permalink
do not boot from partition for md raid (bsc#1063957)
Browse files Browse the repository at this point in the history
  • Loading branch information
jreidinger committed Nov 28, 2017
1 parent e91fa5a commit c769933
Show file tree
Hide file tree
Showing 3 changed files with 889 additions and 0 deletions.
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 c769933

Please sign in to comment.