[lfs-support] LFS - 5.29 - perl-5.14.2 - possible errata

Bruce Dubbs bruce.dubbs at gmail.com
Sun Jan 8 18:35:53 PST 2012


jasonpsage at jegas.com wrote:

> This is the code I execute for that: (Above is a export LFS=/mnt/lfs for
> good measure too)
> 
> #------------------------------------------------------------------------------
> # LFS Chapater 3 thru 4.2 - Making tools Dir and the symlink
> # Also testing MD4 Check Sums here also. We Add The User 
> # as in chapter 4.3 in the next Script.
> #------------------------------------------------------------------------------
> unalias rm
> rm -R $LFS/sources
> rm -R $LFS/tools
> mkdir -v $LFS/sources
> mkdir -v $LFS/tools
> chmod -v a+wt $LFS/sources
> ln -sv $LFS/tools /
> cp downloads/* $LFS/sources/.
> cp md5sums.txt $LFS/sources/md5sums

Section 4.3:

chown -v lfs $LFS/tools
chown -v lfs $LFS/sources
su - lfs

> cd $LFS/sources
> pushd $LFS/sources
> md5sum -c md5sums
> popd
> $LFS/lfs7/Jegas/readline
> #------------------------------------------------------------------------------
> 
> 
> I'm doing a few things there - but I do set up that sim link - but I
> don't quite understand it
> because for what you describe, my small mind thinks it should be written
> 
> 
> ln -s $LFS/tools /tools  
> 
> But I'm sure its me just not understanding. Though I did test that
> syntax and it seems to 
> work how you describe the symlink in 4.2 is supposed to.

Did you see the note on the page about the ln command?

   -- Bruce



More information about the lfs-support mailing list