changeset 6:dc3d5c66e336

The perl build is crazy, and if you have a /bin/mips it tries to run it to see if it's building on an obsolete OS called "mips" rather than Linux. Except that util-linux-ng does a mips alias for setarch, which runs /bin/sh by default if given no arguments, which sits there awaiting input, and the build hangs. Fix: feed it /dev/null.
author Rob Landley <rob@landley.net>
date Sat, 17 Sep 2011 00:53:33 -0500
parents 73ab228e8da3
children 156c020be180
files images/lfs-bootstrap/mnt/build/perl.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/images/lfs-bootstrap/mnt/build/perl.sh	Sun Aug 21 22:12:02 2011 -0500
+++ b/images/lfs-bootstrap/mnt/build/perl.sh	Sat Sep 17 00:53:33 2011 -0500
@@ -18,7 +18,7 @@
     cpan/Compress-Raw-Zlib/config.in &&
 ./Configure -des -Dprefix=/usr -Dvendorprefix=/usr \
   -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 \
-  -Dpager="/usr/bin/less -is" -Duseshrplib -Dusenm=n &&
+  -Dpager="/usr/bin/less -is" -Duseshrplib -Dusenm=n < /dev/null &&
 make -j $CPUS || exit 1
 
 if [ ! -z "$CHECK" ]