diff --git a/chapter04/chapter04.xml b/chapter04/chapter04.xml index 86ce11068..36a04ae34 100644 --- a/chapter04/chapter04.xml +++ b/chapter04/chapter04.xml @@ -32,16 +32,20 @@ of the alternative means of downloading listed on You'll need to store all the downloaded packages and patches somewhere that is conveniently available throughout the entire build. You'll also need a working directory in which to unpack the sources and build them. A scheme that -works well is to use $LFS/tools/sources/packages for the -tarballs, and $LFS/tools/sources as the working directory -and as the place to store the patches. In this way, -everything will be on the LFS partition and available during all stages of the -building process. +works well is to use $LFS/sources as the place to store +the tarballs and patches, and as a working directory. +This way everything you need will be located on the LFS partition and available +during all stages of the building process. -So you may want to execute the following command before starting -your download session: +So you may want to execute, as root, the following +command before starting your download session: -mkdir -p $LFS/tools/sources/packages +mkdir $LFS/sources + +And make this directory writable (and sticky) for your normal user -- as +you won't do the downloading as root, we guess: + +chmod a+wt $LFS/sources