List Info

Thread: clfs bug




clfs bug
country flaguser name
United States
2007-02-20 03:55:10
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 $/{dev,proc,sys}
mount -vt proc proc $/proc
mount -vt sysfs sysfs $/sys
if [ ! -e $/dev/console ];
then
mknod -m 600 $/dev/console c 5 1
fi
if [ ! -e  $/dev/null ];then
	mknod -m 666 $/dev/null c 1 3
fi
mount -v -o bind /dev $/dev
mount -f -vt tmpfs tmpfs $/dev/shm
mount -f -vt devpts -o gid=4,mode=620 devpts
$/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
-- 
http://linuxfromscratch.org/mailman/listinfo/alfs-discu
ss
FAQ: http://www.linux
fromscratch.org/faq/
Unsubscribe: See the above information page

Re: clfs bug
country flaguser name
Spain
2007-02-20 12:13:58
El Martes, 20 de Febrero de 2007 10:55, Stéphane ANCELOT
escribió:
> 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 :

$/dev/console and $/dev/null don't should exist
at that point of 
the build.

If you have that error, I suspect that you are using the
"Rebuild files" 
option to auto-clean a previous build, right?

That was due a bug in clean_buildir function that should be
fixed in current 
jhalfs SVN code.


-- 
Manuel Canales Esparcia
Usuario de LFS nº2886:       http://www.linuxfroms
cratch.org
LFS en castellano: http://www.escomp
oslinux.org/lfs-es http://www.lfs-es.info
TLDP-ES:                           http://es.tldp.org
-- 
http://linuxfromscratch.org/mailman/listinfo/alfs-discu
ss
FAQ: http://www.linux
fromscratch.org/faq/
Unsubscribe: See the above information page

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )