--- scripts/mk-images | 49 ------------------------------------------------- 1 files changed, 0 insertions(+), 49 deletions(-) diff --git a/scripts/mk-images b/scripts/mk-images index 778af31..f36897c 100755 --- a/scripts/mk-images +++ b/scripts/mk-images @@ -365,55 +365,6 @@ makeproductfile() { fi } -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 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list