[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 |
|
---|
[401f81e] | 14 | # Create SBU and disk usage report n(no)/y(yes)
|
---|
[7a519f3] | 15 | # NOTE: requires to have bc installed on the host
|
---|
[401f81e] | 16 | REPORT=y
|
---|
[7a519f3] | 17 |
|
---|
[15cad16] | 18 | #=== Getting packages ===
|
---|
[d81c640] | 19 | # Files will be retrieved from the local archive SRC_ARCHIVE
|
---|
[ddde18e] | 20 | # (if defined) or the 'net and will be stored in $BUILDDIR/sources
|
---|
[401f81e] | 21 | #--- Download the source packages n(no)/y(yes)
|
---|
| 22 | GETPKG=n
|
---|
[15cad16] | 23 |
|
---|
[877cc6a] | 24 | #--- The local repository for packages/file
|
---|
[401f81e] | 25 | # Used only if GETPKG = y
|
---|
[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 ===
|
---|
[401f81e] | 35 | #--- Automatically run the makefile once it has been created n(no)/y(yes)
|
---|
| 36 | RUNMAKE=n
|
---|
[877cc6a] | 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
|
---|
[d81c640] | 51 | # (in CLFS and HLFS, alias to 2)
|
---|
[877cc6a] | 52 | TEST=1
|
---|
| 53 |
|
---|
[28f4756] | 54 | #--- Bomb on test suites failures?
|
---|
[401f81e] | 55 | # n = no, I want to build the full system and review the logs
|
---|
| 56 | # y = yes, bomb at the first test suite failure to can review the build dir
|
---|
| 57 | BOMB_TEST=n
|
---|
[28f4756] | 58 |
|
---|
[401f81e] | 59 | #--- Run the stripping phases n(no)/y(yes)
|
---|
| 60 | STRIP=y
|
---|
[877cc6a] | 61 |
|
---|
| 62 | #--- page definition for groff letter/A4
|
---|
| 63 | PAGE=letter
|
---|
| 64 |
|
---|
| 65 | #--- set default timezone.
|
---|
[5a733a4] | 66 | TIMEZONE=${TZ:-GMT}
|
---|
[877cc6a] | 67 |
|
---|
[401f81e] | 68 | #--- install the optional vim-lang package n(no)/y(yes)
|
---|
| 69 | VIMLANG=y
|
---|
[877cc6a] | 70 |
|
---|
| 71 | #--- Language information in /etc/profile See <locale -a> for values
|
---|
| 72 | LANG=$LANG
|
---|
| 73 | LC_ALL=$LC_ALL # (not used in LFS)
|
---|
| 74 |
|
---|
| 75 | #--- Include the keymap in the kernel if defined. Path to the
|
---|
| 76 | # keymap file relative to /usr/share/kbd/keymaps/
|
---|
| 77 | # (e.g., i386/qwerty/us.map.gz) or "none"
|
---|
| 78 | # Not used in LFS
|
---|
| 79 | KEYMAP=none
|
---|
| 80 |
|
---|
[45f82718] | 81 | #=== Variables needed by iterative comparison analysis ===
|
---|
[401f81e] | 82 | #--- Should some iterative comparison analysis by made? n(no)/y(yes)
|
---|
| 83 | COMPARE=n
|
---|
[877cc6a] | 84 |
|
---|
[45f82718] | 85 | #--- The number of final stage builds to create and compare, min. 2, max. 5
|
---|
| 86 | ITERATIONS=3
|
---|
[877cc6a] | 87 |
|
---|
[401f81e] | 88 | #--- Run ICA testing n(no)/y(yes)
|
---|
| 89 | RUN_ICA=n
|
---|
[45f82718] | 90 |
|
---|
[401f81e] | 91 | #--- Run farce testing n(no)/y(yes)
|
---|
| 92 | RUN_FARCE=n
|
---|
[877cc6a] | 93 |
|
---|
| 94 | #==== INTERNAL VARIABLES ====
|
---|
| 95 | # Don't edit it unless you know what you are doing
|
---|
| 96 |
|
---|
| 97 | #--- Working directories
|
---|
[190d3a2] | 98 | SCRIPT_ROOT=jhalfs
|
---|
[a229600] | 99 | JHALFSDIR=$BUILDDIR/$SCRIPT_ROOT
|
---|
| 100 | LOGDIR=$JHALFSDIR/logs
|
---|
| 101 | TESTLOGDIR=$JHALFSDIR/test-logs
|
---|
[45f82718] | 102 |
|
---|
[82eb8c1] | 103 | #--- File listing package contents (from where package sources dir is extracted)
|
---|
| 104 | PKG_LST=unpacked
|
---|
| 105 |
|
---|
[45f82718] | 106 | #--- ICA report log directory
|
---|
| 107 | ICALOGDIR=$LOGDIR/ICA
|
---|
| 108 |
|
---|
| 109 | #--- farce report log directory
|
---|
| 110 | FARCELOGDIR=$LOGDIR/farce
|
---|