summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2009-05-26 16:11:32 +0000
committerOlivier Blin <oblin@mandriva.com>2009-05-26 16:11:32 +0000
commit2bb12d8edd036e851e6f2ddd6230c1419ea55576 (patch)
tree4021b599e8941a91e653fb2ce017a96b996b3ecc /lib
parent379f68b0e11c56418fc3afe2f68f2b21e4e12d64 (diff)
downloaddraklive-2bb12d8edd036e851e6f2ddd6230c1419ea55576.tar
draklive-2bb12d8edd036e851e6f2ddd6230c1419ea55576.tar.gz
draklive-2bb12d8edd036e851e6f2ddd6230c1419ea55576.tar.bz2
draklive-2bb12d8edd036e851e6f2ddd6230c1419ea55576.tar.xz
draklive-2bb12d8edd036e851e6f2ddd6230c1419ea55576.zip
add no_initrd option
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';