diff options
Diffstat (limited to 'draklive')
-rwxr-xr-x | draklive | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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', ''); |