summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/MDV/Draklive/Initrd.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MDV/Draklive/Initrd.pm b/lib/MDV/Draklive/Initrd.pm
index 5de6c51..adeea0a 100644
--- a/lib/MDV/Draklive/Initrd.pm
+++ b/lib/MDV/Draklive/Initrd.pm
@@ -301,7 +301,7 @@ sub create_classical_initrd {
my $kernel = $live->find_kernel;
print "using kernel $kernel->{version}\n";
- my $initrd_long = '/boot/initrd-'. $kernel . '.img';
+ my $initrd_long = '/boot/initrd-'. $kernel->{version} . '.img';
unlink($root . $initrd_long);
{