summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdraklive2
1 files changed, 2 insertions, 0 deletions
diff --git a/draklive b/draklive
index 6720240..d9279fc 100755
--- a/draklive
+++ b/draklive
@@ -486,6 +486,8 @@ sub create_initrd_for_media {
my $full = list_modules::modname2path($m);
my $f = list_modules::modname2filename($m);
run_program::run('gzip', '>', $initrd_tree . "/modules/$f.ko", '-dc', get_system_root($live) . $full);
+ #- gzopen transparently opens uncompressed files
+ symlink($f . ".ko", $initrd_tree . "/modules/$f.ko.gz");
}
cp_f((map { $live->{settings}{config_root} . '/' . $_ } @{$live->{system}{additional_modules}}), $initrd_tree . "/modules/");