2006-03-07 21:02:53 +01:00
|
|
|
#####
|
|
|
|
#
|
2006-03-12 11:37:29 +01:00
|
|
|
# common configuration file
|
2006-03-07 21:02:53 +01:00
|
|
|
#
|
2006-03-10 02:44:55 +01:00
|
|
|
# $Id$
|
2006-03-07 21:02:53 +01:00
|
|
|
#####
|
|
|
|
|
|
|
|
declare -r SVN="svn://svn.linuxfromscratch.org"
|
|
|
|
declare -r LOG=000-masterscript.log
|
|
|
|
|
|
|
|
#--- Mount point for the build
|
2006-03-30 20:26:11 +02:00
|
|
|
BUILDDIR=/mnt/build_dir
|
2006-03-07 21:02:53 +01:00
|
|
|
|
2006-05-04 00:03:58 +02:00
|
|
|
# Create SBU and disk usage report 0(no)/1(yes)
|
|
|
|
# NOTE: requires to have bc installed on the host
|
|
|
|
REPORT=1
|
|
|
|
|
2006-05-01 13:10:53 +02:00
|
|
|
#=== Getting packages ===
|
2006-07-26 20:42:01 +02:00
|
|
|
# Files will be retrieved from the local archive SRC_ARCHIVE
|
|
|
|
# (if defined) or the 'net and will be stored in $BUILDDIR/sources
|
2006-05-01 13:10:53 +02:00
|
|
|
#--- Download the source packages 0(no)/1(yes)
|
|
|
|
GETPKG=0
|
|
|
|
|
2006-03-15 22:50:40 +01:00
|
|
|
#--- The local repository for packages/file
|
2006-05-01 13:10:53 +02:00
|
|
|
# Used only if GETPKG = 1
|
2006-03-29 20:41:33 +02:00
|
|
|
# Any missing file will be downloaded and archived here,
|
|
|
|
# if the user has the right priviledges.
|
2006-04-08 13:32:14 +02:00
|
|
|
SRC_ARCHIVE=$SRC_ARCHIVE
|
2006-03-15 22:50:40 +01:00
|
|
|
|
2006-05-04 20:30:06 +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-05-01 13:10:53 +02:00
|
|
|
SERVER=ftp://ftp.lfs-matrix.net
|
2006-03-07 21:02:53 +01:00
|
|
|
|
2006-05-01 13:10:53 +02:00
|
|
|
#=== Build options ===
|
2006-07-26 20:42:01 +02:00
|
|
|
#--- Automatically run the makefile once it has been created 0(no)/1(yes)
|
2006-03-07 21:02:53 +01:00
|
|
|
RUNMAKE=0
|
|
|
|
|
2006-05-05 19:41:56 +02:00
|
|
|
#--- Optimize the build [0-2]
|
|
|
|
# 0 = no optimization
|
2006-05-05 20:35:55 +02:00
|
|
|
# 1 = optimize final system only
|
|
|
|
# 2 = optimize both temporary tools and final system
|
2006-05-05 19:41:56 +02:00
|
|
|
#
|
2006-05-05 20:35:55 +02:00
|
|
|
# Optimization values are set in optimize/* files
|
2006-05-05 19:41:56 +02:00
|
|
|
OPTIMIZE=0
|
2006-05-04 00:03:58 +02:00
|
|
|
|
2006-03-10 02:44:55 +01: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-03-29 20:41:33 +02:00
|
|
|
# (in CLFS, alias to 2)
|
2006-03-18 12:42:56 +01:00
|
|
|
TEST=1
|
2006-03-07 21:02:53 +01:00
|
|
|
|
|
|
|
#--- Run the stripping phases 0(no)/1(yes)
|
2006-03-18 12:42:56 +01:00
|
|
|
STRIP=1
|
2006-03-07 21:02:53 +01:00
|
|
|
|
|
|
|
#--- page definition for groff letter/A4
|
|
|
|
PAGE=letter
|
|
|
|
|
|
|
|
#--- set default timezone.
|
2006-05-16 20:27:02 +02:00
|
|
|
TIMEZONE=${TZ:-GMT}
|
2006-03-07 21:02:53 +01:00
|
|
|
|
|
|
|
#--- install the optional vim-lang package 0(no)/1(yes)
|
2006-03-17 20:45:20 +01:00
|
|
|
VIMLANG=1
|
2006-03-07 21:02:53 +01:00
|
|
|
|
2006-03-29 20:41:33 +02:00
|
|
|
#--- Language information in /etc/profile See <locale -a> for values
|
2006-03-12 11:37:29 +01:00
|
|
|
LANG=$LANG
|
2006-03-29 20:58:18 +02:00
|
|
|
LC_ALL=$LC_ALL # (not used in LFS)
|
2006-03-07 21:02:53 +01:00
|
|
|
|
2006-03-18 12:42:56 +01:00
|
|
|
#--- 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"
|
2006-03-29 20:41:33 +02:00
|
|
|
# Not used in LFS
|
2006-03-18 12:42:56 +01:00
|
|
|
KEYMAP=none
|
2006-03-07 21:02:53 +01:00
|
|
|
|
2006-04-09 12:27:06 +02:00
|
|
|
#=== Variables needed by iterative comparison analysis ===
|
2006-04-09 13:22:51 +02:00
|
|
|
#--- Should some iterative comparison analysis by made? 0(no)/1(yes)
|
|
|
|
COMPARE=0
|
|
|
|
|
2006-04-08 18:28:24 +02:00
|
|
|
#--- The number of final stage builds to create and compare, min. 2, max. 5
|
|
|
|
ITERATIONS=3
|
2006-03-10 02:44:55 +01:00
|
|
|
|
2006-04-09 13:22:51 +02:00
|
|
|
#--- Run ICA testing 0(no)/1(yes)
|
2006-04-09 12:27:06 +02:00
|
|
|
RUN_ICA=0
|
|
|
|
|
2006-04-09 13:22:51 +02:00
|
|
|
#--- Run farce testing 0(no)/1(yes)
|
2006-04-09 12:27:06 +02:00
|
|
|
RUN_FARCE=0
|
|
|
|
|
2006-03-07 21:02:53 +01:00
|
|
|
#==== INTERNAL VARIABLES ====
|
|
|
|
# Don't edit it unless you know what you are doing
|
|
|
|
|
|
|
|
#--- Working directories
|
2006-06-02 19:53:17 +02:00
|
|
|
SCRIPT_ROOT=jhalfs
|
2006-06-04 19:59:02 +02:00
|
|
|
JHALFSDIR=$BUILDDIR/$SCRIPT_ROOT
|
|
|
|
LOGDIR=$JHALFSDIR/logs
|
|
|
|
TESTLOGDIR=$JHALFSDIR/test-logs
|
2006-04-09 22:31:19 +02:00
|
|
|
|
2006-06-02 19:53:17 +02:00
|
|
|
#--- File listing package contents (from where package sources dir is extracted)
|
|
|
|
PKG_LST=unpacked
|
|
|
|
|
2006-04-09 22:31:19 +02:00
|
|
|
#--- ICA report log directory
|
|
|
|
ICALOGDIR=$LOGDIR/ICA
|
|
|
|
|
|
|
|
#--- farce report log directory
|
|
|
|
FARCELOGDIR=$LOGDIR/farce
|