Updated buildscripts (v2.2.8)
root
ej.lfs at xs4all.nl
Sat Apr 19 08:18:32 MDT 2003
Ryan.Oliver at pha.com.au wrote:
> As always Patches/abuse/comments/changes/hardware ;-) always accepted
Hi there,
I had a problem building pure-lfs with a system that did have usbdevfs
but didn't have devfs. The devfs-detection at the end of ch5 and
beginning of ch6 went wrong. I've attached a patch that fixes this.
Bye
Erik-Jan
PS still having some troubles with the coreutils/fileutils make check.
Working on that now...
-------------- next part --------------
--- build-ch5-2.2.8.sh.orig 2003-04-17 22:56:53.000000000 +0200
+++ build-ch5-2.2.8.sh 2003-04-17 22:57:53.000000000 +0200
@@ -2015,7 +2015,7 @@
# Mount /dev over ${LFS}/dev if devfs is enabled in current kernel
#
-cat /proc/mounts | grep devfs > /dev/null 2>&1 &&
+cat /proc/mounts | grep ' devfs ' > /dev/null 2>&1 &&
{
# From Tushar Teredesai's "Using devfs and devfsd" hint
mknod -m 611 ${LFS}/dev/console c 5 1
--- build-ch6-toolchain-2.2.8.sh.orig 2003-04-17 22:57:00.000000000 +0200
+++ build-ch6-toolchain-2.2.8.sh 2003-04-17 22:57:29.000000000 +0200
@@ -208,7 +208,7 @@
# If /dev is fstype devfs, set DEVFS=Y
# If not, mount /dev/pts if used outside chroot (not req'd with devfs)
-cat /proc/mounts | grep devfs > /dev/null 2>&1 &&
+cat /proc/mounts | grep ' devfs ' > /dev/null 2>&1 &&
{
export DEVFS=Y
} || {
More information about the lfs-dev
mailing list