From 2bb12d8edd036e851e6f2ddd6230c1419ea55576 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Tue, 26 May 2009 16:11:32 +0000 Subject: add no_initrd option --- lib/MDV/Draklive/Initrd.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') 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'; -- cgit v1.2.1