summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-09-19 14:53:33 +0000
committerOlivier Blin <oblin@mandriva.com>2007-09-19 14:53:33 +0000
commit9928adf3d60a964efa9b523009c55093f9458a13 (patch)
treed02bad575b38dd50751d1931029c8acb6b4ea3a5
parent5d6d4f72f419bdebbb4434e3022d3f730f0d1403 (diff)
downloaddrakiso-9928adf3d60a964efa9b523009c55093f9458a13.tar
drakiso-9928adf3d60a964efa9b523009c55093f9458a13.tar.gz
drakiso-9928adf3d60a964efa9b523009c55093f9458a13.tar.bz2
drakiso-9928adf3d60a964efa9b523009c55093f9458a13.tar.xz
drakiso-9928adf3d60a964efa9b523009c55093f9458a13.zip
fix additional modules copy
-rwxr-xr-xdraklive2
1 files changed, 1 insertions, 1 deletions
diff --git a/draklive b/draklive
index e3f46bc..22eb0d8 100755
--- a/draklive
+++ b/draklive
@@ -483,7 +483,7 @@ sub create_initrd_for_media {
($live->{mount}{overlay} ? @{$overlay{$live->{mount}{overlay}}{modules} || []} : ());
my @additional_modules = map { m!([^/]+)\.ko! } @{$live->{system}{additional_modules}};
- cp_f(map { $live->{settings}{config_root} . '/' . $_ } @{$live->{system}{additional_modules}}, $initrd_tree . "/lib/");
+ cp_f((map { $live->{settings}{config_root} . '/' . $_ } @{$live->{system}{additional_modules}}), $initrd_tree . "/lib/");
my @missing = sort(difference2($extra_missing, \@additional_modules));
@missing and die "missing mandatory modules:\n" . join("\n", @missing);