summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/bootloader-config
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2016-02-10 23:48:28 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2016-02-18 00:22:35 +0100
commitf55d0d5edd7fb54198d43f64419291b93dca2346 (patch)
tree32b9167438107e4cd58a72661f1c4b5cdac386d6 /perl-install/standalone/bootloader-config
parentaee1d3319b2a7901e799c41cd9a6b2de91dea5b8 (diff)
downloaddrakx-f55d0d5edd7fb54198d43f64419291b93dca2346.tar
drakx-f55d0d5edd7fb54198d43f64419291b93dca2346.tar.gz
drakx-f55d0d5edd7fb54198d43f64419291b93dca2346.tar.bz2
drakx-f55d0d5edd7fb54198d43f64419291b93dca2346.tar.xz
drakx-f55d0d5edd7fb54198d43f64419291b93dca2346.zip
just let grub2-mkconfig do its job for grub2
remaining issue: we're calling update-grub2 too early, in kernel's %preun instead of its %postun... (mga#16268)
Diffstat (limited to 'perl-install/standalone/bootloader-config')
-rwxr-xr-xperl-install/standalone/bootloader-config2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/bootloader-config b/perl-install/standalone/bootloader-config
index e61dbd453..187ca3eed 100755
--- a/perl-install/standalone/bootloader-config
+++ b/perl-install/standalone/bootloader-config
@@ -98,7 +98,7 @@ sub remove_kernel() {
return;
}
- remove_kernel_generic();
+ remove_kernel_generic() if bootloader::main_method($bootloader->{method}) ne 'grub2';
modify_bootloader();
}