diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2016-02-10 23:46:35 +0100 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2016-02-18 00:22:35 +0100 |
commit | aee1d3319b2a7901e799c41cd9a6b2de91dea5b8 (patch) | |
tree | f3a99669b9bb08fc3376c74268fac47469fd0ee9 | |
parent | 1a0de0f35ddd95a57da8cc31cf139706ddecfbf5 (diff) | |
download | drakx-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-x | perl-install/standalone/bootloader-config | 8 |
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(); } |