[0170229] | 1 | #####
|
---|
| 2 | #
|
---|
[0a7e5d0] | 3 | # common configuration file
|
---|
[0170229] | 4 | #
|
---|
[12a5707] | 5 | # $Id$
|
---|
[0170229] | 6 | #####
|
---|
| 7 |
|
---|
| 8 | declare -r SVN="svn://svn.linuxfromscratch.org"
|
---|
| 9 | declare -r LOG=000-masterscript.log
|
---|
| 10 |
|
---|
| 11 | #--- Mount point for the build
|
---|
[67e3bc3] | 12 | BUILDDIR=/mnt/build_dir
|
---|
[0170229] | 13 |
|
---|
[17c7894] | 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 |
|
---|
[3e7af38] | 18 | #=== Getting packages ===
|
---|
[da49058] | 19 | # Files will be retrieved from the local archive SRC_ARCHIVE
|
---|
[3b63c8c] | 20 | # (if defined) or the 'net and will be stored in $BUILDDIR/sources
|
---|
[3e7af38] | 21 | #--- Download the source packages 0(no)/1(yes)
|
---|
| 22 | GETPKG=0
|
---|
| 23 |
|
---|
[e1edff3] | 24 | #--- The local repository for packages/file
|
---|
[3e7af38] | 25 | # Used only if GETPKG = 1
|
---|
[916a8e9] | 26 | # Any missing file will be downloaded and archived here,
|
---|
| 27 | # if the user has the right priviledges.
|
---|
[902672f] | 28 | SRC_ARCHIVE=$SRC_ARCHIVE
|
---|
[e1edff3] | 29 |
|
---|
[b414549] | 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.
|
---|
[3e7af38] | 32 | SERVER=ftp://ftp.lfs-matrix.net
|
---|
[0170229] | 33 |
|
---|
[3e7af38] | 34 | #=== Build options ===
|
---|
[3b63c8c] | 35 | #--- Automatically run the makefile once it has been created 0(no)/1(yes)
|
---|
[0170229] | 36 | RUNMAKE=0
|
---|
| 37 |
|
---|
[53588e2] | 38 | #--- Optimize the build [0-2]
|
---|
| 39 | # 0 = no optimization
|
---|
[eca59ce] | 40 | # 1 = optimize final system only
|
---|
| 41 | # 2 = optimize both temporary tools and final system
|
---|
[53588e2] | 42 | #
|
---|
[eca59ce] | 43 | # Optimization values are set in optimize/* files
|
---|
[53588e2] | 44 | OPTIMIZE=0
|
---|
[17c7894] | 45 |
|
---|
[12a5707] | 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
|
---|
[da49058] | 51 | # (in CLFS and HLFS, alias to 2)
|
---|
[d540567] | 52 | TEST=1
|
---|
[0170229] | 53 |
|
---|
[056486c] | 54 | #--- Bomb on test suites failures?
|
---|
| 55 | # 0 = no, I want to build the full system and review the logs
|
---|
| 56 | # 1 = yes, bomb at the first test suite failure to can review the build dir
|
---|
| 57 | BOMB_TEST=0
|
---|
| 58 |
|
---|
[0170229] | 59 | #--- Run the stripping phases 0(no)/1(yes)
|
---|
[d540567] | 60 | STRIP=1
|
---|
[0170229] | 61 |
|
---|
| 62 | #--- page definition for groff letter/A4
|
---|
| 63 | PAGE=letter
|
---|
| 64 |
|
---|
| 65 | #--- set default timezone.
|
---|
[3a27393] | 66 | TIMEZONE=${TZ:-GMT}
|
---|
[0170229] | 67 |
|
---|
| 68 | #--- install the optional vim-lang package 0(no)/1(yes)
|
---|
[0ebdc33] | 69 | VIMLANG=1
|
---|
[0170229] | 70 |
|
---|
[916a8e9] | 71 | #--- Language information in /etc/profile See <locale -a> for values
|
---|
[0a7e5d0] | 72 | LANG=$LANG
|
---|
[650134b] | 73 | LC_ALL=$LC_ALL # (not used in LFS)
|
---|
[0170229] | 74 |
|
---|
[d540567] | 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"
|
---|
[916a8e9] | 78 | # Not used in LFS
|
---|
[d540567] | 79 | KEYMAP=none
|
---|
[0170229] | 80 |
|
---|
[4612459] | 81 | #=== Variables needed by iterative comparison analysis ===
|
---|
[fb68d23] | 82 | #--- Should some iterative comparison analysis by made? 0(no)/1(yes)
|
---|
| 83 | COMPARE=0
|
---|
| 84 |
|
---|
[2f0a537] | 85 | #--- The number of final stage builds to create and compare, min. 2, max. 5
|
---|
| 86 | ITERATIONS=3
|
---|
[12a5707] | 87 |
|
---|
[fb68d23] | 88 | #--- Run ICA testing 0(no)/1(yes)
|
---|
[4612459] | 89 | RUN_ICA=0
|
---|
| 90 |
|
---|
[fb68d23] | 91 | #--- Run farce testing 0(no)/1(yes)
|
---|
[4612459] | 92 | RUN_FARCE=0
|
---|
| 93 |
|
---|
[0170229] | 94 | #==== INTERNAL VARIABLES ====
|
---|
| 95 | # Don't edit it unless you know what you are doing
|
---|
| 96 |
|
---|
| 97 | #--- Working directories
|
---|
[460ea63] | 98 | SCRIPT_ROOT=jhalfs
|
---|
[e35e794] | 99 | JHALFSDIR=$BUILDDIR/$SCRIPT_ROOT
|
---|
| 100 | LOGDIR=$JHALFSDIR/logs
|
---|
| 101 | TESTLOGDIR=$JHALFSDIR/test-logs
|
---|
[8ba8df4] | 102 |
|
---|
[460ea63] | 103 | #--- File listing package contents (from where package sources dir is extracted)
|
---|
| 104 | PKG_LST=unpacked
|
---|
| 105 |
|
---|
[8ba8df4] | 106 | #--- ICA report log directory
|
---|
| 107 | ICALOGDIR=$LOGDIR/ICA
|
---|
| 108 |
|
---|
| 109 | #--- farce report log directory
|
---|
| 110 | FARCELOGDIR=$LOGDIR/farce
|
---|