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