[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[PATCH 05/29] instbin is no longer used.



---
 scripts/mk-images |   49 -------------------------------------------------
 1 files changed, 0 insertions(+), 49 deletions(-)

diff --git a/scripts/mk-images b/scripts/mk-images
index 43b582d..6c45275 100755
--- a/scripts/mk-images
+++ b/scripts/mk-images
@@ -372,55 +372,6 @@ Version=$VERSION
 EOF
 }
 
-instbin() {
-    ROOT=$1
-    BIN=$2
-    DIR=$3
-    DEST=$4
-
-    iself="$(file $ROOT/$BIN | grep ELF)"
-
-    if [ -L $ROOT/$BIN ]; then
-        cp -a $ROOT/$BIN $DIR/$DEST
-    else
-        if [ -z "$iself" ]; then
-            install -m 755 $ROOT/$BIN $DIR/$DEST
-        else
-            install -s -m 755 $ROOT/$BIN $DIR/$DEST
-
-            get_dso_deps $ROOT "$BIN"
-            local DEPS="$DSO_DEPS"
-            mkdir -p $DIR/$LIBDIR
-
-            for x in $DEPS ; do
-                cp -Lfp $ROOT/$x $DIR/$LIBDIR
-            done
-
-            pushd $DIR/$LIBDIR
-            if [ -f ld-linux.so.2 -a ! -L ld-linux.so.2 ]; then
-                rm -f ld-linux.so.2
-                linker="$(ls -1 ld-*.*.*.so)"
-                if [ -z "$linker" ]; then
-                    linker="$(ls -1 ld-*.*.so)"
-                fi
-                found=$(echo $linker | wc -l)
-                if [ $found -ne 1 ]; then
-                    echo "Found too many dynamic linkers:" >&2
-                    echo $linker >&2
-                    exit 1
-                fi
-                ln -s $linker ld-linux.so.2
-            fi
-            popd
-            if [ "$BUILDARCH" = "s390x" -a ! -h $DIR/lib/ld64.so.1 ]; then
-                pushd $DIR/lib
-                ln -s ../$LIBDIR/ld64.so.1
-                popd
-            fi
-        fi
-    fi
-}
-
 makeinitrd() {
     INITRDMODULES=""
     KEEP=""
-- 
1.7.1.1


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]