summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2015-05-06 03:57:01 -0400
committerThierry Vignaud <thierry.vignaud@gmail.com>2015-05-06 19:35:03 +0200
commite9b2ea84cc4bd1bf0cbe9138e2bbd1dfca6c55b1 (patch)
tree4b12f910eb1fe2e5f4bc4f577dce8bca21f49994
parent8c45c357a5f1bfbe15363cc2876afd8f7cb17431 (diff)
downloaddrakx-e9b2ea84cc4bd1bf0cbe9138e2bbd1dfca6c55b1.tar
drakx-e9b2ea84cc4bd1bf0cbe9138e2bbd1dfca6c55b1.tar.gz
drakx-e9b2ea84cc4bd1bf0cbe9138e2bbd1dfca6c55b1.tar.bz2
drakx-e9b2ea84cc4bd1bf0cbe9138e2bbd1dfca6c55b1.tar.xz
drakx-e9b2ea84cc4bd1bf0cbe9138e2bbd1dfca6c55b1.zip
always log update-grub2 output (mga158557)
-rw-r--r--perl-install/bootloader.pm1
-rw-r--r--perl-install/install/NEWS1
2 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm
index 1088c4e43..987cf4382 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -1797,6 +1797,7 @@ sub write_grub2 {
setVarsInSh($f, \%conf);
run_program::rooted($::prefix, 'update-grub2', '2>', \$error) or die "update-grub2 failed: $error";
+ log::l("update-grub2 logs: $error");
# set default entry:
eval {
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index e20fd7f52..0051e75f0 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,4 +1,5 @@
- log grub2 install.sh in report.bug like for grub (mga158557)
+- always log update-grub2 output (mga158557)
Version 16.91 - 3 May 2015