Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Device-mapper Development (http://www.linux-archive.org/device-mapper-development/)
-   -   instbin is no longer used. (http://www.linux-archive.org/device-mapper-development/407603-instbin-no-longer-used.html)

Chris Lumens 08-02-2010 08:10 PM

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 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@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

Chris Lumens 10-13-2010 03:11 PM

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

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

Martin Gracik 10-14-2010 08:58 AM

instbin is no longer used.
 
ack

--

Martin Gracik

----- "Chris Lumens" <clumens@redhat.com> wrote:

> ---
> 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
>
> _______________________________________________
> Anaconda-devel-list mailing list
> Anaconda-devel-list@redhat.com
> https://www.redhat.com/mailman/listinfo/anaconda-devel-list

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


All times are GMT. The time now is 05:30 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.