summaryrefslogtreecommitdiffstats
path: root/draklive
diff options
context:
space:
mode:
Diffstat (limited to 'draklive')
-rwxr-xr-xdraklive4
1 files changed, 2 insertions, 2 deletions
diff --git a/draklive b/draklive
index b1946c8..00a4371 100755
--- a/draklive
+++ b/draklive
@@ -286,10 +286,10 @@ sub create_initrd_for_media {
symlink('busybox', $initrd_tree . "/bin/$_") foreach @l;
my $fs = $media->get_media_setting('fs');
- my @loop_types = uniq(map { $_->{type} } @{$live->{mount}{dirs}});
+ my @used_loop_types = uniq(map { $_->{type} } @{$live->{mount}{dirs}});
inst_initrd_bin($live->get_system_root, $initrd_tree, $_) foreach
MDV::Draklive::StorageFS::get_files($fs),
- (map { @{$loop_types{$_} && $loop_types{$_}{files} || []} } @loop_types);
+ (map { @{$loop_types{$_} && $loop_types{$_}{files} || []} } @used_loop_types);
output_p($initrd_tree . '/etc/fstab', '');
output_p($initrd_tree . '/etc/mtab', '');