diff options
author | Erik Troan <ewt@redhat.com> | 2001-06-28 22:18:01 +0000 |
---|---|---|
committer | Erik Troan <ewt@redhat.com> | 2001-06-28 22:18:01 +0000 |
commit | 3c5636fe42e81542e9df916ccf14d1cc24442225 (patch) | |
tree | 431cf263ea5b71a2a27f23517a361747ef6639bf /scripts | |
parent | cb80f6afb246353ea5fb83df0dfcb080c985935f (diff) | |
download | anaconda-3c5636fe42e81542e9df916ccf14d1cc24442225.tar.gz anaconda-3c5636fe42e81542e9df916ccf14d1cc24442225.tar.xz anaconda-3c5636fe42e81542e9df916ccf14d1cc24442225.zip |
fixes for busybox; seems to work now
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 ) |