summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-12-13 16:05:46 +0000
committerOlivier Blin <oblin@mandriva.com>2007-12-13 16:05:46 +0000
commit218ec705dfd8480aff858c0281f3e8543efdac88 (patch)
tree6435fea325df8f98542d2c7f80a3a96e8e12629b
parent75d88bbdc0ff86c275852afdd513872e35ee58ce (diff)
downloaddraklive-218ec705dfd8480aff858c0281f3e8543efdac88.tar
draklive-218ec705dfd8480aff858c0281f3e8543efdac88.tar.gz
draklive-218ec705dfd8480aff858c0281f3e8543efdac88.tar.bz2
draklive-218ec705dfd8480aff858c0281f3e8543efdac88.tar.xz
draklive-218ec705dfd8480aff858c0281f3e8543efdac88.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 a985ce0..ff7ed71 100755
--- a/draklive
+++ b/draklive
@@ -452,8 +452,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;