diff options
| author | Michael Neves | 2012-11-08 18:08:17 +0100 |
|---|---|---|
| committer | Michael Neves | 2012-11-08 18:08:17 +0100 |
| commit | 11ecc4883c01700d3142cec813363f7016f06ecd (patch) | |
| tree | 3935bf9b28d600423d4928755cb2f256279852e3 /remote/setup-tools.sh | |
| parent | build_core (diff) | |
| download | tm-scripts-11ecc4883c01700d3142cec813363f7016f06ecd.tar.gz tm-scripts-11ecc4883c01700d3142cec813363f7016f06ecd.tar.xz tm-scripts-11ecc4883c01700d3142cec813363f7016f06ecd.zip | |
missing ld-linux fix
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 |
