buildscripts update (surprise surprise :-) ) (2.2.6)

Erik-Jan ej.lfs at xs4all.nl
Sun Apr 6 10:02:41 PDT 2003


Ryan.Oliver at pha.com.au wrote:
> 
> As usual, abuse/changes/patches always welcome

Hi there,

Another small one: Ch6 Perl make test (they use 'make test' instead of
'make check') fails on 3 tests because it needs a localhost. All it
needs is the file /etc/hosts in which localhost is defined. 

Patch attached.

Groetjes,
Erik-Jan
-------------- next part --------------
--- build-ch5-2.2.6.sh.orig	2003-04-06 16:43:46.000000000 +0000
+++ build-ch5-2.2.6.sh	2003-04-06 16:48:40.000000000 +0000
@@ -1903,6 +1903,9 @@
       echo "${nssfile}: files" >> ${LFS}/etc/nsswitch.conf
 done
 
+# Create ${LFS}/etc/hosts with only localhost. Used by Perl make test 
+echo "127.0.0.1 localhost.localdomain localhost" > ${LFS}/etc/hosts
+
 #
 # Mount /dev over ${LFS}/dev if devfs is enabled in current kernel
 # 


More information about the lfs-dev mailing list