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