401f81e4da
There is no obvious bugs, let users to find hidden bugs.
110 lines
2.8 KiB
Text
110 lines
2.8 KiB
Text
#####
|
|
#
|
|
# 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
|
|
|
|
# Create SBU and disk usage report n(no)/y(yes)
|
|
# NOTE: requires to have bc installed on the host
|
|
REPORT=y
|
|
|
|
#=== Getting packages ===
|
|
# Files will be retrieved from the local archive SRC_ARCHIVE
|
|
# (if defined) or the 'net and will be stored in $BUILDDIR/sources
|
|
#--- Download the source packages n(no)/y(yes)
|
|
GETPKG=n
|
|
|
|
#--- The local repository for packages/file
|
|
# Used only if GETPKG = y
|
|
# Any missing file will be downloaded and archived here,
|
|
# if the user has the right priviledges.
|
|
SRC_ARCHIVE=$SRC_ARCHIVE
|
|
|
|
# --- Server used if the file isn't found in SRC_ARCHIVE.
|
|
# As a last resort, the file will dowloaded from upstream, if possible.
|
|
SERVER=ftp://ftp.lfs-matrix.net
|
|
|
|
#=== Build options ===
|
|
#--- Automatically run the makefile once it has been created n(no)/y(yes)
|
|
RUNMAKE=n
|
|
|
|
#--- 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
|
|
|
|
#--- 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
|
|
# (in CLFS and HLFS, alias to 2)
|
|
TEST=1
|
|
|
|
#--- Bomb on test suites failures?
|
|
# n = no, I want to build the full system and review the logs
|
|
# y = yes, bomb at the first test suite failure to can review the build dir
|
|
BOMB_TEST=n
|
|
|
|
#--- Run the stripping phases n(no)/y(yes)
|
|
STRIP=y
|
|
|
|
#--- page definition for groff letter/A4
|
|
PAGE=letter
|
|
|
|
#--- set default timezone.
|
|
TIMEZONE=${TZ:-GMT}
|
|
|
|
#--- install the optional vim-lang package n(no)/y(yes)
|
|
VIMLANG=y
|
|
|
|
#--- 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
|
|
|
|
#=== Variables needed by iterative comparison analysis ===
|
|
#--- Should some iterative comparison analysis by made? n(no)/y(yes)
|
|
COMPARE=n
|
|
|
|
#--- The number of final stage builds to create and compare, min. 2, max. 5
|
|
ITERATIONS=3
|
|
|
|
#--- Run ICA testing n(no)/y(yes)
|
|
RUN_ICA=n
|
|
|
|
#--- Run farce testing n(no)/y(yes)
|
|
RUN_FARCE=n
|
|
|
|
#==== INTERNAL VARIABLES ====
|
|
# Don't edit it unless you know what you are doing
|
|
|
|
#--- Working directories
|
|
SCRIPT_ROOT=jhalfs
|
|
JHALFSDIR=$BUILDDIR/$SCRIPT_ROOT
|
|
LOGDIR=$JHALFSDIR/logs
|
|
TESTLOGDIR=$JHALFSDIR/test-logs
|
|
|
|
#--- File listing package contents (from where package sources dir is extracted)
|
|
PKG_LST=unpacked
|
|
|
|
#--- ICA report log directory
|
|
ICALOGDIR=$LOGDIR/ICA
|
|
|
|
#--- farce report log directory
|
|
FARCELOGDIR=$LOGDIR/farce
|