Skip to content

Commit

Permalink
Merge d499aea into 2a28990
Browse files Browse the repository at this point in the history
  • Loading branch information
jreidinger committed Mar 10, 2021
2 parents 2a28990 + d499aea commit eb974ca
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
7 changes: 7 additions & 0 deletions package/yast2-bootloader.changes
@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Mar 10 12:47:05 UTC 2021 - Josef Reidinger <jreidinger@suse.com>

- Add validation to device map dialog to prevent exceeding BIOS
limit of device map (bsc#1183218)
- 4.3.25

-------------------------------------------------------------------
Thu Mar 4 09:09:20 UTC 2021 - Josef Reidinger <jreidinger@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.3.24
Version: 4.3.25
Release: 0
Summary: YaST2 - Bootloader Configuration
License: GPL-2.0-or-later
Expand Down
5 changes: 5 additions & 0 deletions src/lib/bootloader/device_map_dialog.rb
Expand Up @@ -61,6 +61,11 @@ def controller_loop
Yast::Popup.Error(_("Device map must contain at least one device"))
next
end
max_dev = Bootloader::DeviceMap::BIOS_LIMIT
if disks.size > max_dev
Yast::Popup.Error(_("Device map can have at maximum %i devices") % max_dev)
next
end
store_order
return :back # we just go back to original dialog
when :cancel
Expand Down

0 comments on commit eb974ca

Please sign in to comment.