diff options
author | Olivier Blin <oblin@mandriva.com> | 2007-09-19 14:53:33 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2007-09-19 14:53:33 +0000 |
commit | 9928adf3d60a964efa9b523009c55093f9458a13 (patch) | |
tree | d02bad575b38dd50751d1931029c8acb6b4ea3a5 | |
parent | 5d6d4f72f419bdebbb4434e3022d3f730f0d1403 (diff) | |
download | drakiso-9928adf3d60a964efa9b523009c55093f9458a13.tar drakiso-9928adf3d60a964efa9b523009c55093f9458a13.tar.gz drakiso-9928adf3d60a964efa9b523009c55093f9458a13.tar.bz2 drakiso-9928adf3d60a964efa9b523009c55093f9458a13.tar.xz drakiso-9928adf3d60a964efa9b523009c55093f9458a13.zip |
fix additional modules copy
-rwxr-xr-x | draklive | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |