diff options
-rwxr-xr-x | tools/draklive | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/draklive b/tools/draklive index 97cbd343a..afff52815 100755 --- a/tools/draklive +++ b/tools/draklive @@ -314,6 +314,8 @@ sub create_initrd_for_media { cp_f('/usr/bin/strace', $initrd_tree . '/bin/'); my @l = map { /functions:/ .. /^$/ ? do { s/\s//g; split /,/ } : () } `busybox`; shift @l; + #- don't override programs we copy in initrd + @l = difference2(\@l, [ qw(losetup mount) ]); symlink('busybox', $initrd_tree . "/bin/$_") foreach @l; } |