Skip to content

Commit

Permalink
use name and not device
Browse files Browse the repository at this point in the history
  • Loading branch information
jreidinger committed Apr 20, 2017
1 parent 2cc95d0 commit 2a2c297
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/bootloader/device_map.rb
Expand Up @@ -119,7 +119,7 @@ def order_boot_device
# want to modify its MBR. So we get disk of such partition and change order to add it
# to top of device map. For details see bnc#887808,bnc#880439
boot_disk = Yast::BootStorage.disk_with_boot_partition
priority_disks = ::Bootloader::Stage1Device.new(boot_disk).real_devices
priority_disks = ::Bootloader::Stage1Device.new(boot_disk.name).real_devices
# if none of priority disk is hd0, then choose one and assign it
return if any_first_device?(priority_disks)

Expand Down

0 comments on commit 2a2c297

Please sign in to comment.