[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 ===
|
---|
| 19 | #--- Download the source packages 0(no)/1(yes)
|
---|
| 20 | GETPKG=0
|
---|
| 21 |
|
---|
[e1edff3] | 22 | #--- The local repository for packages/file
|
---|
[3e7af38] | 23 | # Used only if GETPKG = 1
|
---|
[916a8e9] | 24 | # Any missing file will be downloaded and archived here,
|
---|
| 25 | # if the user has the right priviledges.
|
---|
[902672f] | 26 | SRC_ARCHIVE=$SRC_ARCHIVE
|
---|
[e1edff3] | 27 |
|
---|
[b414549] | 28 | # --- Server used if the file isn't found in SRC_ARCHIVE.
|
---|
| 29 | # As a last resort, the file will dowloaded from upstream, if possible.
|
---|
[3e7af38] | 30 | SERVER=ftp://ftp.lfs-matrix.net
|
---|
[0170229] | 31 |
|
---|
[3e7af38] | 32 | #=== Build options ===
|
---|
[0170229] | 33 | #--- Run the makefile at the end 0(no)/1(yes)
|
---|
[916a8e9] | 34 | # In BLFS the Makefile can't be run automatically
|
---|
[0170229] | 35 | RUNMAKE=0
|
---|
| 36 |
|
---|
[17c7894] | 37 | #--- Optimize the build? 0(no)/1(yes)
|
---|
| 38 | # Optimization values are set in opt_config and opt_override
|
---|
| 39 | OPTIMIZE=1
|
---|
| 40 |
|
---|
[12a5707] | 41 | #--- Run test suites [0-3]
|
---|
| 42 | # 0 = none
|
---|
| 43 | # 1 = only chapter06 Glibc, GCC and Binutils testsuites
|
---|
[916a8e9] | 44 | # (in BLFS, run the package testsuite, if any)
|
---|
[12a5707] | 45 | # 2 = all chapter06 testsuites
|
---|
[916a8e9] | 46 | # (in BLFS, alias to 1)
|
---|
[12a5707] | 47 | # 3 = all chapter05 and chapter06 testsuites
|
---|
[916a8e9] | 48 | # (in BLFS, alias to 1)
|
---|
| 49 | # (in CLFS, alias to 2)
|
---|
[d540567] | 50 | TEST=1
|
---|
[0170229] | 51 |
|
---|
| 52 | #--- Run the stripping phases 0(no)/1(yes)
|
---|
[d540567] | 53 | STRIP=1
|
---|
[0170229] | 54 |
|
---|
| 55 | #--- page definition for groff letter/A4
|
---|
| 56 | PAGE=letter
|
---|
| 57 |
|
---|
| 58 | #--- set default timezone.
|
---|
[65d83a6] | 59 | TIMEZONE=GMT
|
---|
[0170229] | 60 |
|
---|
| 61 | #--- install the optional vim-lang package 0(no)/1(yes)
|
---|
[0ebdc33] | 62 | VIMLANG=1
|
---|
[0170229] | 63 |
|
---|
[916a8e9] | 64 | #--- Language information in /etc/profile See <locale -a> for values
|
---|
[0a7e5d0] | 65 | LANG=$LANG
|
---|
[650134b] | 66 | LC_ALL=$LC_ALL # (not used in LFS)
|
---|
[0170229] | 67 |
|
---|
[d540567] | 68 | #--- Include the keymap in the kernel if defined. Path to the
|
---|
| 69 | # keymap file relative to /usr/share/kbd/keymaps/
|
---|
| 70 | # (e.g., i386/qwerty/us.map.gz) or "none"
|
---|
[916a8e9] | 71 | # Not used in LFS
|
---|
[d540567] | 72 | KEYMAP=none
|
---|
[0170229] | 73 |
|
---|
[4612459] | 74 | #=== Variables needed by iterative comparison analysis ===
|
---|
[fb68d23] | 75 | #--- Should some iterative comparison analysis by made? 0(no)/1(yes)
|
---|
| 76 | COMPARE=0
|
---|
| 77 |
|
---|
[2f0a537] | 78 | #--- The number of final stage builds to create and compare, min. 2, max. 5
|
---|
| 79 | ITERATIONS=3
|
---|
[12a5707] | 80 |
|
---|
[fb68d23] | 81 | #--- Run ICA testing 0(no)/1(yes)
|
---|
[4612459] | 82 | RUN_ICA=0
|
---|
| 83 |
|
---|
[fb68d23] | 84 | #--- Run farce testing 0(no)/1(yes)
|
---|
[4612459] | 85 | RUN_FARCE=0
|
---|
| 86 |
|
---|
[0170229] | 87 | #==== INTERNAL VARIABLES ====
|
---|
| 88 | # Don't edit it unless you know what you are doing
|
---|
| 89 |
|
---|
| 90 | #--- Working directories
|
---|
[158b30f] | 91 | JHALFSDIR=$BUILDDIR/jhalfs
|
---|
[0170229] | 92 | LOGDIR=$JHALFSDIR/logs
|
---|
[8ba8df4] | 93 |
|
---|
| 94 | #--- ICA report log directory
|
---|
| 95 | ICALOGDIR=$LOGDIR/ICA
|
---|
| 96 |
|
---|
| 97 | #--- farce report log directory
|
---|
| 98 | FARCELOGDIR=$LOGDIR/farce
|
---|