Hi. I've put the instructions from the book in a script:
baratito:~# cat chroot_lfs.sh #!/bin/bash LFS="/media/lfs" MAKEFLAGS="-j 2" mount -v --bind /dev $LFS/dev mount -vt devpts devpts $LFS/dev/pts mount -vt tmpfs shm $LFS/dev/shm mount -vt proc proc $LFS/proc mount -vt sysfs sysfs $LFS/sys chroot "$LFS" /tools/bin/env -i \ HOME=/root TERM="$TERM" MAKEFLAGS="$MAKEFLAGS" PARALLELMFLAGS="$MAKEFLAGS" PS1='\u:\w\$ ' \ PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin \ /tools/bin/bash --login +h I just run it to enter the chroot. About timestamps: baratito:~# date vie oct 15 13:55:00 CEST 2010 baratito:~# sh chroot_lfs sh: chroot_lfs: No existe el fichero o el directorio baratito:~# date vie oct 15 13:55:10 CEST 2010 baratito:~# sh chroot_lfs.sh /dev on /media/lfs/dev type none (rw,bind) devpts on /media/lfs/dev/pts type devpts (rw) shm on /media/lfs/dev/shm type tmpfs (rw) proc on /media/lfs/proc type proc (rw) sysfs on /media/lfs/sys type sysfs (rw) root:/# date Fri Oct 15 11:55:15 UTC 2010 There is really a difference. Perhaps the loop appears because the build takes more than 2 hours? Anyway, I did all the building with the "wrong" hour and timestamp. And the chroot isn't in the future but the past. Looks like the right place to look, but what? Alberto 2010/10/15 Rick Shelton <rick.shel...@gmail.com> > On Fri, Oct 15, 2010 at 3:57 AM, Alberto Hernando <pajaro...@gmail.com> > wrote: > > Hi. > > > > I'm building lfs-6.7, and I'm stuck compiling glibc in the chroot. I have > > had it running for over 24 hours, and make isn't complete yet. I don't > want > > to stop it because there is no error, but I copied the lfs folder to > another > > point and started another building. Same result. Make is all the time > > "leaving sources/glibc/ntpl" directory. I don't think it's doing > anything > > new. > > Something like this happened to a friend of mine. He had installed > some boxed distro merely for the sake of attempting an installation of > LFS. But he never set the host system's time properly. So make would > loop trying to build packages with timestamps from the future. > -- > http://linuxfromscratch.org/mailman/listinfo/lfs-support > FAQ: http://www.linuxfromscratch.org/lfs/faq.html > Unsubscribe: See the above information page > -- duende a rayas
-- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page