From ddde18e6f27266f06446cf52f8ebf4bbdf447696 Mon Sep 17 00:00:00 2001 From: George Boudreau Date: Tue, 20 Jun 2006 23:43:07 +0000 Subject: [PATCH] Work on README.. more to come --- README | 36 ++++++++++++++++++++++++++++++++++++ common/config | 4 +++- 2 files changed, 39 insertions(+), 1 deletion(-) diff --git a/README b/README index 52b7f4f..cfa8c95 100644 --- a/README +++ b/README @@ -50,6 +50,42 @@ $Id$ ./ --help eg: ./lfs --help will give you a context sensitive list of command line switches. + >>>> an expanded example + + export SRC_ARCHIVE=/mnt/SourceFiles + + ./lfs -D /mnt/partition4 \ + -K ~/jhalfs_configs/linux-2.6.16.19-LFS.config \ + -F ~/jhalfs-configs/fstab-sda3 \ + -G -T 0 -M + + explanation::: + + export SRC_ARCHIVE=/mnt/SourceFiles + # This points to a local archive of existing packages. If the version in + the archive is incorrect jhalfs will access the net and download the + necessary version and store it here for later use. DO NOT set this to + $BUILDDIR/sources. If you do not set this variable to a valide directory + ALL package tarballs will be downloaded from the 'net. + + -D /mnt/partition4 + # where everything takes place. ..NOTE it must already exist and be mounted + + -K ~/jhalfs_configs/linux-2.6.16.19-LFS.config + # If you want to automatically build a the kernel you MUST supply a valid + kernel configuration file. The file you supply will be copied and renamed. + + -F ~/jhalfs-configs/fstab-sda3 + # If you have a fstab file you wish to use it will be copied and renamed + + -G # Retrieve the package files. You MUST enable this flag at least once if you + wish to do a build or whenever you update the book. + + -T 0 # don't run any testsuites + + -M # automatically run make against Makefile once jhalfs finishes its work. + + 5. LAYOUT:: /CLFS/config diff --git a/common/config b/common/config index 74bb55e..415345c 100644 --- a/common/config +++ b/common/config @@ -16,6 +16,8 @@ BUILDDIR=/mnt/build_dir REPORT=1 #=== Getting packages === +# Files will be retrieved from the local archive SRC_ARCHIVE +# (if defined) or the 'net and will be stored in $BUILDDIR/sources #--- Download the source packages 0(no)/1(yes) GETPKG=0 @@ -30,7 +32,7 @@ SRC_ARCHIVE=$SRC_ARCHIVE SERVER=ftp://ftp.lfs-matrix.net #=== Build options === -#--- Run the makefile at the end 0(no)/1(yes) +#--- Automatically run the makefile once it has been created 0(no)/1(yes) RUNMAKE=0 #--- Optimize the build [0-2]