diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/scrubtree | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/scripts/scrubtree b/scripts/scrubtree index 96e7eda7b..50ff58c14 100755 --- a/scripts/scrubtree +++ b/scripts/scrubtree @@ -25,10 +25,13 @@ rm -f $p/usr/sbin/ldconfig $p/etc/ld.so.conf (cd $p/usr/bin; ./collage | $p/usr/lib/anaconda-runtime/mkcollagelinks ./collage) +mv $p/usr/sbin/busybox.anaconda $p/usr/bin/busybox (cd $p/usr/bin; -set $(mv busybox.anaconda busybox; ./busybox 2>&1| awk '/^\t([a-z\[]+,)+/' | sed 's/,//g' | sed 's/ +//'); +set $(./busybox 2>&1| awk '/^\t([a-z\[]+,)+/' | sed 's/,//g' | sed 's/ +//'); while [ -n "$1" ]; do - ln -sf ./busybox $1 + if [ $1 != "busybox" ]; then + ln -sf ./busybox $1 + fi shift done ) |