summaryrefslogtreecommitdiffstats
path: root/draklive
diff options
context:
space:
mode:
Diffstat (limited to 'draklive')
-rwxr-xr-xdraklive5
1 files changed, 1 insertions, 4 deletions
diff --git a/draklive b/draklive
index 8293bc0..82295ee 100755
--- a/draklive
+++ b/draklive
@@ -488,10 +488,7 @@ sub create_initrd_for_media {
@{$storage_fs{$fs} && $storage_fs{$fs}{files} || []},
(map { @{$loop{$_} && $loop{$_}{files} || []} } @loop_types);
- if ($live->{debug}) {
- $need_libs = 1;
- cp_f(get_system_root($live) . '/usr/bin/strace', $initrd_tree . '/bin/');
- }
+ inst_initrd_bin(get_system_root($live), $initrd_tree, '/usr/bin/strace') if $live->{debug};
cp_f(@libs, $initrd_tree . $lib_prefix) if $need_libs;