summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-12-13 16:03:03 +0000
committerOlivier Blin <oblin@mandriva.com>2007-12-13 16:03:03 +0000
commit49489ee9abfba55fbf7fb30f29bef88f19e6f917 (patch)
tree4a60c4efb0f90cab072cd0135c40b08b54f735f1
parent5bc7f9525bc3fefc1cd7b7ae9abfd0bcff296127 (diff)
downloaddraklive-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-xdraklive4
1 files changed, 3 insertions, 1 deletions
diff --git a/draklive b/draklive
index 0c9fee7..ae192b8 100755
--- a/draklive
+++ b/draklive
@@ -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;