summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>2001-06-28 22:18:01 +0000
committerErik Troan <ewt@redhat.com>2001-06-28 22:18:01 +0000
commit3c5636fe42e81542e9df916ccf14d1cc24442225 (patch)
tree431cf263ea5b71a2a27f23517a361747ef6639bf /scripts
parentcb80f6afb246353ea5fb83df0dfcb080c985935f (diff)
downloadanaconda-3c5636fe42e81542e9df916ccf14d1cc24442225.tar.gz
anaconda-3c5636fe42e81542e9df916ccf14d1cc24442225.tar.xz
anaconda-3c5636fe42e81542e9df916ccf14d1cc24442225.zip
fixes for busybox; seems to work now
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/scrubtree7
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
)