Skip to content

Commit

Permalink
changes from review
Browse files Browse the repository at this point in the history
  • Loading branch information
jreidinger committed Apr 25, 2017
1 parent d2cd207 commit d44f3ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/bootloader/mbr_update.rb
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def can_activate_partition?(partition)
# if primary partition on old DOS MBR table, GPT do not have such limit
gpt_disk = partition.disk.gpt?

!(Yast::Arch.ppc && gpt_disk) && (gpt_disk || partition.number <= 4)
!(Yast::Arch.ppc && gpt_disk) && (gpt_disk || partition.is?(:primary, :extended))
end

def activate_partitions
Expand Down

0 comments on commit d44f3ca

Please sign in to comment.