diff options
author | Olivier Blin <oblin@mandriva.org> | 2006-03-09 18:37:12 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2006-03-09 18:37:12 +0000 |
commit | f8d04cc23cc41ad0ce7ca3421d714cf06978d8f3 (patch) | |
tree | 57d367fa02ff33110cd0d59ca3aaf3f8d7efd2dd /tools | |
parent | a838dea00c5ea6605168e2b21f941ba7140827d1 (diff) | |
download | drakx-f8d04cc23cc41ad0ce7ca3421d714cf06978d8f3.tar drakx-f8d04cc23cc41ad0ce7ca3421d714cf06978d8f3.tar.gz drakx-f8d04cc23cc41ad0ce7ca3421d714cf06978d8f3.tar.bz2 drakx-f8d04cc23cc41ad0ce7ca3421d714cf06978d8f3.tar.xz drakx-f8d04cc23cc41ad0ce7ca3421d714cf06978d8f3.zip |
don't override programs we copy in initrd by their busybox implementation
Diffstat (limited to 'tools')
-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; } |