diff options
-rwxr-xr-x | draklive | 1 | ||||
-rw-r--r-- | lib/MDV/Draklive/Initrd.pm | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -1435,6 +1435,7 @@ Here's a configuration sample: 'patches/halt.loopfs.patch', ], vga_mode => 788, + no_initrd => 0, }, media => { storage => 'cdrom', 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'; |