[877cc6a] | 1 | #####
|
---|
| 2 | #
|
---|
| 3 | # common configuration file
|
---|
| 4 | #
|
---|
| 5 | # $Id$
|
---|
| 6 | #####
|
---|
| 7 |
|
---|
| 8 | declare -r SVN="svn://svn.linuxfromscratch.org"
|
---|
| 9 | declare -r LOG=000-masterscript.log
|
---|
| 10 |
|
---|
| 11 | #--- Mount point for the build
|
---|
| 12 | BUILDDIR=/mnt/build_dir
|
---|
| 13 |
|
---|
[7a519f3] | 14 | # Create SBU and disk usage report 0(no)/1(yes)
|
---|
| 15 | # NOTE: requires to have bc installed on the host
|
---|
| 16 | REPORT=1
|
---|
| 17 |
|
---|
[15cad16] | 18 | #=== Getting packages ===
|
---|
[ddde18e] | 19 | # Files will be retrieved from the local archive SRC_ARCHIVE
|
---|
| 20 | # (if defined) or the 'net and will be stored in $BUILDDIR/sources
|
---|
[15cad16] | 21 | #--- Download the source packages 0(no)/1(yes)
|
---|
| 22 | GETPKG=0
|
---|
| 23 |
|
---|
[877cc6a] | 24 | #--- The local repository for packages/file
|
---|
[15cad16] | 25 | # Used only if GETPKG = 1
|
---|
[877cc6a] | 26 | # Any missing file will be downloaded and archived here,
|
---|
| 27 | # if the user has the right priviledges.
|
---|
[bd5bf06] | 28 | SRC_ARCHIVE=$SRC_ARCHIVE
|
---|
[877cc6a] | 29 |
|
---|
[7a519f3] | 30 | # --- Server used if the file isn't found in SRC_ARCHIVE.
|
---|
| 31 | # As a last resort, the file will dowloaded from upstream, if possible.
|
---|
[15cad16] | 32 | SERVER=ftp://ftp.lfs-matrix.net
|
---|
[877cc6a] | 33 |
|
---|
[15cad16] | 34 | #=== Build options ===
|
---|
[ddde18e] | 35 | #--- Automatically run the makefile once it has been created 0(no)/1(yes)
|
---|
[877cc6a] | 36 | RUNMAKE=0
|
---|
| 37 |
|
---|
[1b65a84] | 38 | #--- Optimize the build [0-2]
|
---|
| 39 | # 0 = no optimization
|
---|
| 40 | # 1 = optimize final system only
|
---|
| 41 | # 2 = optimize both temporary tools and final system
|
---|
| 42 | #
|
---|
| 43 | # Optimization values are set in optimize/* files
|
---|
| 44 | OPTIMIZE=0
|
---|
| 45 |
|
---|
[877cc6a] | 46 | #--- Run test suites [0-3]
|
---|
| 47 | # 0 = none
|
---|
| 48 | # 1 = only chapter06 Glibc, GCC and Binutils testsuites
|
---|
| 49 | # 2 = all chapter06 testsuites
|
---|
| 50 | # 3 = all chapter05 and chapter06 testsuites
|
---|
| 51 | # (in CLFS, alias to 2)
|
---|
| 52 | TEST=1
|
---|
| 53 |
|
---|
| 54 | #--- Run the stripping phases 0(no)/1(yes)
|
---|
| 55 | STRIP=1
|
---|
| 56 |
|
---|
| 57 | #--- page definition for groff letter/A4
|
---|
| 58 | PAGE=letter
|
---|
| 59 |
|
---|
| 60 | #--- set default timezone.
|
---|
[5a733a4] | 61 | TIMEZONE=${TZ:-GMT}
|
---|
[877cc6a] | 62 |
|
---|
| 63 | #--- install the optional vim-lang package 0(no)/1(yes)
|
---|
| 64 | VIMLANG=1
|
---|
| 65 |
|
---|
| 66 | #--- Language information in /etc/profile See <locale -a> for values
|
---|
| 67 | LANG=$LANG
|
---|
| 68 | LC_ALL=$LC_ALL # (not used in LFS)
|
---|
| 69 |
|
---|
| 70 | #--- Include the keymap in the kernel if defined. Path to the
|
---|
| 71 | # keymap file relative to /usr/share/kbd/keymaps/
|
---|
| 72 | # (e.g., i386/qwerty/us.map.gz) or "none"
|
---|
| 73 | # Not used in LFS
|
---|
| 74 | KEYMAP=none
|
---|
[d763e91] | 75 | KEYMAP=i386/qwerty/us.map.gz
|
---|
[877cc6a] | 76 |
|
---|
[45f82718] | 77 | #=== Variables needed by iterative comparison analysis ===
|
---|
| 78 | #--- Should some iterative comparison analysis by made? 0(no)/1(yes)
|
---|
| 79 | COMPARE=0
|
---|
[877cc6a] | 80 |
|
---|
[45f82718] | 81 | #--- The number of final stage builds to create and compare, min. 2, max. 5
|
---|
| 82 | ITERATIONS=3
|
---|
[877cc6a] | 83 |
|
---|
[45f82718] | 84 | #--- Run ICA testing 0(no)/1(yes)
|
---|
| 85 | RUN_ICA=0
|
---|
| 86 |
|
---|
| 87 | #--- Run farce testing 0(no)/1(yes)
|
---|
| 88 | RUN_FARCE=0
|
---|
[877cc6a] | 89 |
|
---|
| 90 | #==== INTERNAL VARIABLES ====
|
---|
| 91 | # Don't edit it unless you know what you are doing
|
---|
| 92 |
|
---|
| 93 | #--- Working directories
|
---|
[190d3a2] | 94 | SCRIPT_ROOT=jhalfs
|
---|
[a229600] | 95 | JHALFSDIR=$BUILDDIR/$SCRIPT_ROOT
|
---|
| 96 | LOGDIR=$JHALFSDIR/logs
|
---|
| 97 | TESTLOGDIR=$JHALFSDIR/test-logs
|
---|
[45f82718] | 98 |
|
---|
[82eb8c1] | 99 | #--- File listing package contents (from where package sources dir is extracted)
|
---|
| 100 | PKG_LST=unpacked
|
---|
| 101 |
|
---|
[45f82718] | 102 | #--- ICA report log directory
|
---|
| 103 | ICALOGDIR=$LOGDIR/ICA
|
---|
| 104 |
|
---|
| 105 | #--- farce report log directory
|
---|
| 106 | FARCELOGDIR=$LOGDIR/farce
|
---|