summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2016-02-10 23:46:35 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2016-02-18 00:22:35 +0100
commitaee1d3319b2a7901e799c41cd9a6b2de91dea5b8 (patch)
treef3a99669b9bb08fc3376c74268fac47469fd0ee9
parent1a0de0f35ddd95a57da8cc31cf139706ddecfbf5 (diff)
downloaddrakx-aee1d3319b2a7901e799c41cd9a6b2de91dea5b8.tar
drakx-aee1d3319b2a7901e799c41cd9a6b2de91dea5b8.tar.gz
drakx-aee1d3319b2a7901e799c41cd9a6b2de91dea5b8.tar.bz2
drakx-aee1d3319b2a7901e799c41cd9a6b2de91dea5b8.tar.xz
drakx-aee1d3319b2a7901e799c41cd9a6b2de91dea5b8.zip
(remove_kernel_generic) split it out
-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();
}