2006-04-06 21:35:22 +02:00
|
|
|
#####
|
|
|
|
#
|
|
|
|
# common configuration file
|
|
|
|
#
|
|
|
|
# $Id$
|
|
|
|
#####
|
|
|
|
|
|
|
|
declare -r SVN="svn://svn.linuxfromscratch.org"
|
|
|
|
declare -r LOG=000-masterscript.log
|
|
|
|
|
|
|
|
#--- Mount point for the build
|
|
|
|
BUILDDIR=/mnt/build_dir
|
|
|
|
|
2006-05-04 20:26:09 +02:00
|
|
|
# Create SBU and disk usage report 0(no)/1(yes)
|
|
|
|
# NOTE: requires to have bc installed on the host
|
|
|
|
REPORT=1
|
|
|
|
|
2006-04-30 21:42:10 +02:00
|
|
|
#=== Getting packages ===
|
2006-07-30 13:34:49 +02:00
|
|
|
# Files will be retrieved from the local archive SRC_ARCHIVE
|
2006-06-21 01:43:07 +02:00
|
|
|
# (if defined) or the 'net and will be stored in $BUILDDIR/sources
|
2006-04-30 21:42:10 +02:00
|
|
|
#--- Download the source packages 0(no)/1(yes)
|
|
|
|
GETPKG=0
|
|
|
|
|
2006-04-06 21:35:22 +02:00
|
|
|
#--- The local repository for packages/file
|
2006-04-30 21:42:10 +02:00
|
|
|
# Used only if GETPKG = 1
|
2006-04-06 21:35:22 +02:00
|
|
|
# Any missing file will be downloaded and archived here,
|
|
|
|
# if the user has the right priviledges.
|
2006-04-08 13:30:57 +02:00
|
|
|
SRC_ARCHIVE=$SRC_ARCHIVE
|
2006-04-06 21:35:22 +02:00
|
|
|
|
2006-05-04 20:26:09 +02:00
|
|
|
# --- Server used if the file isn't found in SRC_ARCHIVE.
|
|
|
|
# As a last resort, the file will dowloaded from upstream, if possible.
|
2006-04-30 21:42:10 +02:00
|
|
|
SERVER=ftp://ftp.lfs-matrix.net
|
2006-04-06 21:35:22 +02:00
|
|
|
|
2006-04-30 21:42:10 +02:00
|
|
|
#=== Build options ===
|
2006-06-21 01:43:07 +02:00
|
|
|
#--- Automatically run the makefile once it has been created 0(no)/1(yes)
|
2006-04-06 21:35:22 +02:00
|
|
|
RUNMAKE=0
|
|
|
|
|
2006-05-11 22:21:14 +02:00
|
|
|
#--- Optimize the build [0-2]
|
|
|
|
# 0 = no optimization
|
|
|
|
# 1 = optimize final system only
|
|
|
|
# 2 = optimize both temporary tools and final system
|
|
|
|
#
|
|
|
|
# Optimization values are set in optimize/* files
|
|
|
|
OPTIMIZE=0
|
|
|
|
|
2006-04-06 21:35:22 +02:00
|
|
|
#--- Run test suites [0-3]
|
|
|
|
# 0 = none
|
|
|
|
# 1 = only chapter06 Glibc, GCC and Binutils testsuites
|
|
|
|
# 2 = all chapter06 testsuites
|
|
|
|
# 3 = all chapter05 and chapter06 testsuites
|
2006-07-30 13:34:49 +02:00
|
|
|
# (in CLFS and HLFS, alias to 2)
|
2006-04-06 21:35:22 +02:00
|
|
|
TEST=1
|
|
|
|
|
2006-08-05 17:11:06 +02:00
|
|
|
#--- Bomb on test suites failures?
|
|
|
|
# 0 = no, I want to build the full system and review the logs
|
|
|
|
# 1 = yes, bomb at the first test suite failure to can review the build dir
|
|
|
|
BOMB_TEST=0
|
|
|
|
|
2006-04-06 21:35:22 +02:00
|
|
|
#--- Run the stripping phases 0(no)/1(yes)
|
|
|
|
STRIP=1
|
|
|
|
|
|
|
|
#--- page definition for groff letter/A4
|
|
|
|
PAGE=letter
|
|
|
|
|
|
|
|
#--- set default timezone.
|
2006-05-14 17:22:21 +02:00
|
|
|
TIMEZONE=${TZ:-GMT}
|
2006-04-06 21:35:22 +02:00
|
|
|
|
|
|
|
#--- install the optional vim-lang package 0(no)/1(yes)
|
|
|
|
VIMLANG=1
|
|
|
|
|
|
|
|
#--- Language information in /etc/profile See <locale -a> for values
|
|
|
|
LANG=$LANG
|
|
|
|
LC_ALL=$LC_ALL # (not used in LFS)
|
|
|
|
|
|
|
|
#--- Include the keymap in the kernel if defined. Path to the
|
|
|
|
# keymap file relative to /usr/share/kbd/keymaps/
|
|
|
|
# (e.g., i386/qwerty/us.map.gz) or "none"
|
|
|
|
# Not used in LFS
|
|
|
|
KEYMAP=none
|
|
|
|
|
2006-04-29 16:44:29 +02:00
|
|
|
#=== Variables needed by iterative comparison analysis ===
|
|
|
|
#--- Should some iterative comparison analysis by made? 0(no)/1(yes)
|
|
|
|
COMPARE=0
|
2006-04-06 21:35:22 +02:00
|
|
|
|
2006-04-29 16:44:29 +02:00
|
|
|
#--- The number of final stage builds to create and compare, min. 2, max. 5
|
|
|
|
ITERATIONS=3
|
2006-04-06 21:35:22 +02:00
|
|
|
|
2006-04-29 16:44:29 +02:00
|
|
|
#--- Run ICA testing 0(no)/1(yes)
|
|
|
|
RUN_ICA=0
|
|
|
|
|
|
|
|
#--- Run farce testing 0(no)/1(yes)
|
|
|
|
RUN_FARCE=0
|
2006-04-06 21:35:22 +02:00
|
|
|
|
|
|
|
#==== INTERNAL VARIABLES ====
|
|
|
|
# Don't edit it unless you know what you are doing
|
|
|
|
|
|
|
|
#--- Working directories
|
2006-06-01 21:17:52 +02:00
|
|
|
SCRIPT_ROOT=jhalfs
|
2006-06-04 19:56:01 +02:00
|
|
|
JHALFSDIR=$BUILDDIR/$SCRIPT_ROOT
|
|
|
|
LOGDIR=$JHALFSDIR/logs
|
|
|
|
TESTLOGDIR=$JHALFSDIR/test-logs
|
2006-04-29 16:44:29 +02:00
|
|
|
|
2006-06-01 20:42:08 +02:00
|
|
|
#--- File listing package contents (from where package sources dir is extracted)
|
|
|
|
PKG_LST=unpacked
|
|
|
|
|
2006-04-29 16:44:29 +02:00
|
|
|
#--- ICA report log directory
|
|
|
|
ICALOGDIR=$LOGDIR/ICA
|
|
|
|
|
|
|
|
#--- farce report log directory
|
|
|
|
FARCELOGDIR=$LOGDIR/farce
|