summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/NEWS2
-rw-r--r--perl-install/any.pm4
-rw-r--r--perl-install/install/NEWS2
3 files changed, 6 insertions, 2 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index 44f51b42c..653d12335 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,3 +1,5 @@
+- drakboot: don't remove os-prober before user makes choice (mga#28223)
+
Version 18.42 - 26 January 2021
- updated translations
diff --git a/perl-install/any.pm b/perl-install/any.pm
index 09033d55f..0a2efa1a7 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -218,7 +218,7 @@ sub setupBootloaderBefore {
$bootloader->{removable} = $root_part->{is_removable};
}
}
- $do_pkgs->remove('os-prober') if $bootloader->{removable} && $do_pkgs->is_installed('os-prober', '/usr/bin/os-prober');
+ $bootloader->{default_to_no_probe} = 1 if $bootloader->{removable};
$bootloader->{keytable} ||= keyboard::keyboard2kmap($keyboard);
log::l("setupBootloaderBefore end");
@@ -722,7 +722,7 @@ sub setupBootloader__grub2 {
require network::network; #- to list network profiles
my $vga = Xconfig::resolution_and_depth::from_bios($b->{default_vga});
- my $os_prober = $in->do_pkgs->is_installed('os-prober', '/usr/bin/os-prober');
+ my $os_prober = $in->do_pkgs->is_installed('os-prober', '/usr/bin/os-prober') && !$b->{default_to_no_probe};
my $res = $in->ask_from_(
{
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index 3f67ef47d..90a087cdd 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,3 +1,5 @@
+- bootloader: don't remove os-prober before user makes choice (mga#28223)
+
Version 18.42 - 26 January 2021
- updated translations