summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xperl-install/standalone/bootloader-config8
1 files changed, 6 insertions, 2 deletions
diff --git a/perl-install/standalone/bootloader-config b/perl-install/standalone/bootloader-config
index 9b6a021de..e61dbd453 100755
--- a/perl-install/standalone/bootloader-config
+++ b/perl-install/standalone/bootloader-config
@@ -98,6 +98,12 @@ sub remove_kernel() {
return;
}
+ remove_kernel_generic();
+
+ modify_bootloader();
+}
+
+sub remove_kernel_generic() {
my %proposed_labels;
my @new_entries;
@@ -132,8 +138,6 @@ sub remove_kernel() {
my ($kernel_str, $v) = @$_;
bootloader::add_kernel($bootloader, $kernel_str, $v);
}
-
- modify_bootloader();
}