diff options
author | Olivier Blin <oblin@mandriva.com> | 2007-12-13 16:03:03 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2007-12-13 16:03:03 +0000 |
commit | 49489ee9abfba55fbf7fb30f29bef88f19e6f917 (patch) | |
tree | 4a60c4efb0f90cab072cd0135c40b08b54f735f1 | |
parent | 5bc7f9525bc3fefc1cd7b7ae9abfd0bcff296127 (diff) | |
download | draklive-49489ee9abfba55fbf7fb30f29bef88f19e6f917.tar draklive-49489ee9abfba55fbf7fb30f29bef88f19e6f917.tar.gz draklive-49489ee9abfba55fbf7fb30f29bef88f19e6f917.tar.bz2 draklive-49489ee9abfba55fbf7fb30f29bef88f19e6f917.tar.xz draklive-49489ee9abfba55fbf7fb30f29bef88f19e6f917.zip |
copy binary files for loop types if needed
-rwxr-xr-x | draklive | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -455,8 +455,10 @@ sub create_initrd_for_media { } } + my @loop_types = uniq(map { $_->{type} } @{$live->{mount}{dirs}}); inst_initrd_bin(get_system_root($live), $initrd_tree, $_) foreach - @{$storage_fs{$fs} && $storage_fs{$fs}{files} || []}; + @{$storage_fs{$fs} && $storage_fs{$fs}{files} || []}, + (map { @{$loop{$_} && $loop{$_}{files} || []} } @loop_types); if ($live->{debug}) { $need_libs = 1; |