From a9b34cd83e74db328a50b97ab896bacc1d0fa6c3 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Wed, 3 Oct 2007 23:02:25 +0000 Subject: add .ko.gz symlinks to .ko files (to be used by probe-modules, gzopen transparently opens uncompressed files) --- draklive | 2 ++ 1 file changed, 2 insertions(+) (limited to 'draklive') 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/"); -- cgit v1.2.1