Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package yast2-bootloader for openSUSE:Factory checked in at 2021-03-30 20:50:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yast2-bootloader (Old) and /work/SRC/openSUSE:Factory/.yast2-bootloader.new.2401 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-bootloader" Tue Mar 30 20:50:05 2021 rev:305 rq:878176 version:4.3.25 Changes: -------- --- /work/SRC/openSUSE:Factory/yast2-bootloader/yast2-bootloader.changes 2021-03-10 08:47:06.534260601 +0100 +++ /work/SRC/openSUSE:Factory/.yast2-bootloader.new.2401/yast2-bootloader.changes 2021-03-30 20:50:08.096031284 +0200 @@ -1,0 +2,7 @@ +Wed Mar 10 12:47:05 UTC 2021 - Josef Reidinger <jreidin...@suse.com> + +- Add validation to device map dialog to prevent exceeding BIOS + limit of device map (bsc#1183218) +- 4.3.25 + +------------------------------------------------------------------- Old: ---- yast2-bootloader-4.3.24.tar.bz2 New: ---- yast2-bootloader-4.3.25.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-bootloader.spec ++++++ --- /var/tmp/diff_new_pack.X20LM1/_old 2021-03-30 20:50:08.648031902 +0200 +++ /var/tmp/diff_new_pack.X20LM1/_new 2021-03-30 20:50:08.652031907 +0200 @@ -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 ++++++ yast2-bootloader-4.3.24.tar.bz2 -> yast2-bootloader-4.3.25.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-bootloader-4.3.24/package/yast2-bootloader.changes new/yast2-bootloader-4.3.25/package/yast2-bootloader.changes --- old/yast2-bootloader-4.3.24/package/yast2-bootloader.changes 2021-03-04 10:57:29.000000000 +0100 +++ new/yast2-bootloader-4.3.25/package/yast2-bootloader.changes 2021-03-10 14:38:02.000000000 +0100 @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Wed Mar 10 12:47:05 UTC 2021 - Josef Reidinger <jreidin...@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 <jreidin...@suse.com> - Fix boot summary on s390 (bsc#1181801 and bsc#1179168) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-bootloader-4.3.24/package/yast2-bootloader.spec new/yast2-bootloader-4.3.25/package/yast2-bootloader.spec --- old/yast2-bootloader-4.3.24/package/yast2-bootloader.spec 2021-03-04 10:57:29.000000000 +0100 +++ new/yast2-bootloader-4.3.25/package/yast2-bootloader.spec 2021-03-10 14:38:02.000000000 +0100 @@ -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 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-bootloader-4.3.24/src/lib/bootloader/device_map_dialog.rb new/yast2-bootloader-4.3.25/src/lib/bootloader/device_map_dialog.rb --- old/yast2-bootloader-4.3.24/src/lib/bootloader/device_map_dialog.rb 2021-03-04 10:57:29.000000000 +0100 +++ new/yast2-bootloader-4.3.25/src/lib/bootloader/device_map_dialog.rb 2021-03-10 14:38:02.000000000 +0100 @@ -61,6 +61,12 @@ Yast::Popup.Error(_("Device map must contain at least one device")) next end + max_dev = Bootloader::DeviceMap::BIOS_LIMIT + if disks.size > max_dev + # TRANSLATORS: an error message where %i is the number of devices. + 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 @@ -212,12 +218,15 @@ end def refresh_buttons + # by default enable delete and later disable if there are no disks + Yast::UI.ChangeWidget(Id(:delete), :Enabled, true) pos = selected_disk_index if !pos # nothing selected disk_to_select = disks.first # there is no disks if !disk_to_select up_down_enablement(false, false) + Yast::UI.ChangeWidget(Id(:delete), :Enabled, false) return end Yast::UI.ChangeWidget(Id(:disks), :CurrentItem, disk_to_select)