summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2010-07-21 14:21:24 -0400
committerChris Lumens <clumens@redhat.com>2010-10-15 16:42:23 -0400
commit405ecb2f2edbd6ed9e0b83670ae8f70d264e5ab8 (patch)
tree0c45bed0cda4578bf5804718243433effc42123d /scripts
parent9ee942b43e80b834e8a0c8a32a14724ff69cd468 (diff)
instbin is no longer used.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/mk-images49
1 files changed, 0 insertions, 49 deletions
diff --git a/scripts/mk-images b/scripts/mk-images
index 43b582d97..6c4527551 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=""