clfs bug

Stéphane ANCELOT sancelot at free.fr
Tue Feb 20 01:55:10 PST 2007


Hi,
I am trying running clfs svn version , but fails each time in 081-kernfs

because some things  are already done :

looks like the 081-kernfs script should check if /dev/console exists 
first  , modified script should look like :

#!/bin/bash
set +h
set -e
mkdir -pv ${CLFS}/{dev,proc,sys}
mount -vt proc proc ${CLFS}/proc
mount -vt sysfs sysfs ${CLFS}/sys
if [ ! -e ${CLFS}/dev/console ];
then
mknod -m 600 ${CLFS}/dev/console c 5 1
fi
if [ ! -e  ${CLFS}/dev/null ];then
	mknod -m 666 ${CLFS}/dev/null c 1 3
fi
mount -v -o bind /dev ${CLFS}/dev
mount -f -vt tmpfs tmpfs ${CLFS}/dev/shm
mount -f -vt devpts -o gid=4,mode=620 devpts ${CLFS}/dev/pts
exit


my failure log was :

Mon Feb 19 15:32:05 UTC 2007

KB: 34351064    /

proc on /mnt/build_dir/proc type proc (rw)
sysfs on /mnt/build_dir/sys type sysfs (rw)
mknod: `/mnt/build_dir/dev/console': File exists

real    0m0.368s
user    0m0.004s
sys     0m0.140s



More information about the alfs-discuss mailing list