Pierre Labastie wrote:
> Le 20/04/2014 23:26, Ken Moffat a écrit :
>>   I've no idea what that refers to, but it doesn't matter.  I know
>> that (at least) you and Pierre use jhalfs, and for me that is
>> unusable (/scratch is an nfs mount on/from my server, I _really_ do
>> not want to try to build there - by the same token, I use different
>> 'patch' commands).  [...]
> If you tell me what your setting is, I could arrange to make jhalfs compatible
> with this setting, and you could see whether you want to use it...

I'm not sure that's needed Pierre.  The only thing to do is to just copy 
the sources to the local LFS partition.  I have a couple of scripts I 
keep in $LFS/sources, check.sh and extra.sh.  They are also included in 
the lfs source tarballs on the files mirrors.

$ cat check.sh
#! /bin/bash

while read line; do
    base=`basename $line`

    if [ ! -s $base ]; then
       echo $base misssing
done < "wget-list"
$ cat extra.sh
#! /bin/bash

aux="check.sh extra.sh md5sums wget-list"

for f in $(ls); do
    base="$base `basename $f`"

    xxx=`grep $f wget-list`
    yyy=`echo $aux | grep $f`

    if [ -z "$xxx" ] && [ -z "$yyy" ]; then
       echo $f extra

When starting a new build, I generally do:

cd ~/lfs-svn
cd $LFS/sources
cp ~/lfs-book/{wget-list,md5sums) .
sh check.sh
md5sum -c md5sums
cd ~/jhalfs
cd $LFS/jhalfs

For convenience I also have scripts to mount and unmount virtual file 
systems and to clean up $LFS prior to the start of a new build.  I also 
have an alias to enter chroot.

I'm sure everyone does things their own way, but the principles should 
be the same.  I do understand that some may want to do a lot of 
customization to their build scripts mainly to instrument things to 
their liking, but the above allows a very quick build of the LFS book, 
especially if tests are turned off.

My most recent test used 64 SBU @ 123 seconds/SBU.  If I used -j2 it 
would probably be faster.  I need to check that out.

   -- Bruce

FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to