diff options
Diffstat (limited to 'remote/setup-tools.sh')
| -rwxr-xr-x | remote/setup-tools.sh | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/remote/setup-tools.sh b/remote/setup-tools.sh index a345293d..e61d8903 100755 --- a/remote/setup-tools.sh +++ b/remote/setup-tools.sh @@ -79,19 +79,9 @@ copyfileswithdependencies () done # fast hack - LDLINUX=$(ldd $FILE | grep ld-linux | awk '{print $1}' |cut -c2-) + LDLINUX=$(ldd $FILE | grep ld-linux | awk '{print $1}' |cut -c2-) echo "/$LDLINUX" >> $COPYFILES_LIST - tar -cpv $(readlink "/$LDLINUX") | tar -xpv -C $INIT_DIR - case $LDLINUX in - *lib/*) - #cp -a /lib/ld-* $INIT_DIR/lib/ ;; - #tar -cpv $(readlink "/$LDLINUX") | tar -xpv -C $INIT_DIR - ;; - *lib64/*) - #cp -a /lib64/ld-* $INIT_DIR/lib64/ ;; - #tar -cpv "/lib64/ld-*" | tar -xpv -C $INIT_DIR - ;; - esac + tar -cpv $(readlink -f "/$LDLINUX") | tar -xpv -C $INIT_DIR for FILENAME in $REQUIRED_FILES do |
