]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
make.sh: Remove hostname hack.
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 15 Aug 2012 19:04:58 +0000 (21:04 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 15 Aug 2012 19:04:58 +0000 (21:04 +0200)
This will install an x86_64 binary on an x86_64 host
system which will not be executable at all.

make.sh

diff --git a/make.sh b/make.sh
index d1978ccbdc8de0a26f6078037484afe4bceea47f..bde7de661b02676e9693f2096af7f441e497d1d4 100755 (executable)
--- a/make.sh
+++ b/make.sh
@@ -213,11 +213,6 @@ prepareenv() {
     mount --bind $BASEDIR/log    $BASEDIR/build/usr/src/log
     mount --bind $BASEDIR/src    $BASEDIR/build/usr/src/src
 
-    # This is a temporary hack!!!
-    if [ ! -f /tools/bin/hostname ]; then
-      cp -f /bin/hostname /tools/bin/hostname 2>/dev/null
-    fi
-
     # Run LFS static binary creation scripts one by one
     export CCACHE_DIR=$BASEDIR/ccache
     export CCACHE_COMPRESS=1