summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2015-04-08 07:34:40 -0400
committerThierry Vignaud <thierry.vignaud@gmail.com>2015-04-09 06:14:15 -0400
commit3e7995bef00ad7b4381ed0f66eec8bdeb57382b1 (patch)
tree2b2ff9d951a22359e17eb830e8aaa462a63dbc4d
parentd63d164bd2cdba6347d8259c225a6ae78df35591 (diff)
downloaddrakx-3e7995bef00ad7b4381ed0f66eec8bdeb57382b1.tar
drakx-3e7995bef00ad7b4381ed0f66eec8bdeb57382b1.tar.gz
drakx-3e7995bef00ad7b4381ed0f66eec8bdeb57382b1.tar.bz2
drakx-3e7995bef00ad7b4381ed0f66eec8bdeb57382b1.tar.xz
drakx-3e7995bef00ad7b4381ed0f66eec8bdeb57382b1.zip
grub2: check there's still some place on /boot
-rw-r--r--perl-install/NEWS1
-rw-r--r--perl-install/bootloader.pm1
-rw-r--r--perl-install/install/NEWS1
3 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index 31df620e4..8e8c1e6c3 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,4 +1,5 @@
- drakboot:
+ o check there's still some place on /boot with grub2 too
o fix detecting grub2 on UEFI
Version 16.79 - 7 April 2015
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm
index fd59addb2..531162103 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -1790,6 +1790,7 @@ sub write_grub2 {
eval {
run_program::rooted($::prefix, 'grub2-set-default', '2>', \$error, $bootloader->{default}) or die "grub2-set-default failed: $error";
};
+ check_enough_space();
}
sub write_grub {
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index 2cd216313..1476ee7be 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,4 +1,5 @@
- bootloader config:
+ o check there's still some place on /boot with grub2 too
o fix detecting grub2 on UEFI
- log grub2 config in report.bug like for grub/lilo