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 |
|
---|
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 |
|
---|
18 | #=== Getting packages ===
|
---|
19 | #--- Download the source packages 0(no)/1(yes)
|
---|
20 | GETPKG=0
|
---|
21 |
|
---|
22 | #--- The local repository for packages/file
|
---|
23 | # Used only if GETPKG = 1
|
---|
24 | # Any missing file will be downloaded and archived here,
|
---|
25 | # if the user has the right priviledges.
|
---|
26 | SRC_ARCHIVE=$SRC_ARCHIVE
|
---|
27 |
|
---|
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.
|
---|
30 | SERVER=ftp://ftp.lfs-matrix.net
|
---|
31 |
|
---|
32 | #=== Build options ===
|
---|
33 | #--- Run the makefile at the end 0(no)/1(yes)
|
---|
34 | RUNMAKE=0
|
---|
35 |
|
---|
36 | #--- Optimize the build [0-2]
|
---|
37 | # 0 = no optimization
|
---|
38 | # 1 = optimize final system only
|
---|
39 | # 2 = optimize both temporary tools and final system
|
---|
40 | #
|
---|
41 | # Optimization values are set in optimize/* files
|
---|
42 | OPTIMIZE=0
|
---|
43 |
|
---|
44 | #--- Run test suites [0-3]
|
---|
45 | # 0 = none
|
---|
46 | # 1 = only chapter06 Glibc, GCC and Binutils testsuites
|
---|
47 | # 2 = all chapter06 testsuites
|
---|
48 | # 3 = all chapter05 and chapter06 testsuites
|
---|
49 | # (in CLFS, alias to 2)
|
---|
50 | TEST=1
|
---|
51 |
|
---|
52 | #--- Run the stripping phases 0(no)/1(yes)
|
---|
53 | STRIP=1
|
---|
54 |
|
---|
55 | #--- page definition for groff letter/A4
|
---|
56 | PAGE=letter
|
---|
57 |
|
---|
58 | #--- set default timezone.
|
---|
59 | TIMEZONE=${TZ:-GMT}
|
---|
60 |
|
---|
61 | #--- install the optional vim-lang package 0(no)/1(yes)
|
---|
62 | VIMLANG=1
|
---|
63 |
|
---|
64 | #--- Language information in /etc/profile See <locale -a> for values
|
---|
65 | LANG=$LANG
|
---|
66 | LC_ALL=$LC_ALL # (not used in LFS)
|
---|
67 |
|
---|
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"
|
---|
71 | # Not used in LFS
|
---|
72 | KEYMAP=none
|
---|
73 |
|
---|
74 | #=== Variables needed by iterative comparison analysis ===
|
---|
75 | #--- Should some iterative comparison analysis by made? 0(no)/1(yes)
|
---|
76 | COMPARE=0
|
---|
77 |
|
---|
78 | #--- The number of final stage builds to create and compare, min. 2, max. 5
|
---|
79 | ITERATIONS=3
|
---|
80 |
|
---|
81 | #--- Run ICA testing 0(no)/1(yes)
|
---|
82 | RUN_ICA=0
|
---|
83 |
|
---|
84 | #--- Run farce testing 0(no)/1(yes)
|
---|
85 | RUN_FARCE=0
|
---|
86 |
|
---|
87 | #==== INTERNAL VARIABLES ====
|
---|
88 | # Don't edit it unless you know what you are doing
|
---|
89 |
|
---|
90 | #--- Working directories
|
---|
91 | SCRIPT_ROOT=jhalfs
|
---|
92 | JHALFSDIR=$BUILDDIR/$SCRIPT_ROOT
|
---|
93 | LOGDIR=$JHALFSDIR/logs
|
---|
94 |
|
---|
95 | #--- File listing package contents (from where package sources dir is extracted)
|
---|
96 | PKG_LST=unpacked
|
---|
97 |
|
---|
98 | #--- ICA report log directory
|
---|
99 | ICALOGDIR=$LOGDIR/ICA
|
---|
100 |
|
---|
101 | #--- farce report log directory
|
---|
102 | FARCELOGDIR=$LOGDIR/farce
|
---|