[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 |
|
---|
[53588e2] | 37 | #--- Optimize the build [0-2]
|
---|
| 38 | # 0 = no optimization
|
---|
[eca59ce] | 39 | # 1 = optimize final system only
|
---|
| 40 | # 2 = optimize both temporary tools and final system
|
---|
[53588e2] | 41 | #
|
---|
[eca59ce] | 42 | # Optimization values are set in optimize/* files
|
---|
[53588e2] | 43 | OPTIMIZE=0
|
---|
[17c7894] | 44 |
|
---|
[12a5707] | 45 | #--- Run test suites [0-3]
|
---|
| 46 | # 0 = none
|
---|
| 47 | # 1 = only chapter06 Glibc, GCC and Binutils testsuites
|
---|
[916a8e9] | 48 | # (in BLFS, run the package testsuite, if any)
|
---|
[12a5707] | 49 | # 2 = all chapter06 testsuites
|
---|
[916a8e9] | 50 | # (in BLFS, alias to 1)
|
---|
[12a5707] | 51 | # 3 = all chapter05 and chapter06 testsuites
|
---|
[916a8e9] | 52 | # (in BLFS, alias to 1)
|
---|
| 53 | # (in CLFS, alias to 2)
|
---|
[d540567] | 54 | TEST=1
|
---|
[0170229] | 55 |
|
---|
| 56 | #--- Run the stripping phases 0(no)/1(yes)
|
---|
[d540567] | 57 | STRIP=1
|
---|
[0170229] | 58 |
|
---|
| 59 | #--- page definition for groff letter/A4
|
---|
| 60 | PAGE=letter
|
---|
| 61 |
|
---|
| 62 | #--- set default timezone.
|
---|
[65d83a6] | 63 | TIMEZONE=GMT
|
---|
[0170229] | 64 |
|
---|
| 65 | #--- install the optional vim-lang package 0(no)/1(yes)
|
---|
[0ebdc33] | 66 | VIMLANG=1
|
---|
[0170229] | 67 |
|
---|
[916a8e9] | 68 | #--- Language information in /etc/profile See <locale -a> for values
|
---|
[0a7e5d0] | 69 | LANG=$LANG
|
---|
[650134b] | 70 | LC_ALL=$LC_ALL # (not used in LFS)
|
---|
[0170229] | 71 |
|
---|
[d540567] | 72 | #--- Include the keymap in the kernel if defined. Path to the
|
---|
| 73 | # keymap file relative to /usr/share/kbd/keymaps/
|
---|
| 74 | # (e.g., i386/qwerty/us.map.gz) or "none"
|
---|
[916a8e9] | 75 | # Not used in LFS
|
---|
[d540567] | 76 | KEYMAP=none
|
---|
[0170229] | 77 |
|
---|
[4612459] | 78 | #=== Variables needed by iterative comparison analysis ===
|
---|
[fb68d23] | 79 | #--- Should some iterative comparison analysis by made? 0(no)/1(yes)
|
---|
| 80 | COMPARE=0
|
---|
| 81 |
|
---|
[2f0a537] | 82 | #--- The number of final stage builds to create and compare, min. 2, max. 5
|
---|
| 83 | ITERATIONS=3
|
---|
[12a5707] | 84 |
|
---|
[fb68d23] | 85 | #--- Run ICA testing 0(no)/1(yes)
|
---|
[4612459] | 86 | RUN_ICA=0
|
---|
| 87 |
|
---|
[fb68d23] | 88 | #--- Run farce testing 0(no)/1(yes)
|
---|
[4612459] | 89 | RUN_FARCE=0
|
---|
| 90 |
|
---|
[0170229] | 91 | #==== INTERNAL VARIABLES ====
|
---|
| 92 | # Don't edit it unless you know what you are doing
|
---|
| 93 |
|
---|
| 94 | #--- Working directories
|
---|
[158b30f] | 95 | JHALFSDIR=$BUILDDIR/jhalfs
|
---|
[0170229] | 96 | LOGDIR=$JHALFSDIR/logs
|
---|
[8ba8df4] | 97 |
|
---|
| 98 | #--- ICA report log directory
|
---|
| 99 | ICALOGDIR=$LOGDIR/ICA
|
---|
| 100 |
|
---|
| 101 | #--- farce report log directory
|
---|
| 102 | FARCELOGDIR=$LOGDIR/farce
|
---|