diff options
Diffstat (limited to 'perl-install')
-rwxr-xr-x | perl-install/standalone/bootloader-config | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/standalone/bootloader-config b/perl-install/standalone/bootloader-config index 4010b1c73..f9b796fc9 100755 --- a/perl-install/standalone/bootloader-config +++ b/perl-install/standalone/bootloader-config @@ -90,7 +90,8 @@ sub remove_kernel() { if (!$bootloader) { #- removing the initrd for weird configs where no mdv bootloader is configured my $kernel_str = bootloader::vmlinuz2kernel_str($image) or die "bad kernel name $image\n"; - unlink bootloader::kernel_str2initrd_long($kernel_str); + my $initrd_long = bootloader::kernel_str2initrd_long($kernel_str); + unlink "/boot/$initrd_long"; return; } |