summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/MDV/Draklive/Initrd.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/MDV/Draklive/Initrd.pm b/lib/MDV/Draklive/Initrd.pm
index 9954f6b..4147a90 100644
--- a/lib/MDV/Draklive/Initrd.pm
+++ b/lib/MDV/Draklive/Initrd.pm
@@ -270,6 +270,7 @@ sub create_classical_initrd {
#- FIXME: use bootloader-config and allow it not to require a bootloader?
print "using kernel $kernel\n";
symlinkf(basename($vmlinuz_long), $root . $vmlinuz_short);
+ $live->{system}{no_initrd} and return;
my $initrd_long = '/boot/initrd-'. $kernel . '.img';
my $initrd_short = '/boot/initrd.img';