diff options
-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); |