From 094e04353f100996cf6da2238cccabf7a27c5992 Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Wed, 3 May 2017 08:57:47 +0100 Subject: Add "please wait" message when running update-grub2. This can take several minutes on systems with many O/S installations. --- perl-install/any.pm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'perl-install/any.pm') diff --git a/perl-install/any.pm b/perl-install/any.pm index 025daecd2..281b61225 100644 --- a/perl-install/any.pm +++ b/perl-install/any.pm @@ -616,7 +616,11 @@ sub setupBootloader__grub2 { # update entries (so that we can display their list below): my $error; + # grub2-update can take many minutes on some systems (mga#18538) + # FIXME: change the message to be more informative + my $_w = $in->wait_message(N("Please wait"), N("Please wait")); run_program::rooted($::prefix, 'update-grub2', '2>', \$error) or die "update-grub2 failed: $error"; + undef $_w; # read grub2 auto-generated entries (instead of keeping eg: grub/lilo ones): my $b2 = bootloader::read_grub2(); -- cgit v1.2.1