##### # # 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 0(no)/1(yes) # NOTE: requires to have bc installed on the host REPORT=1 #=== 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 0(no)/1(yes) GETPKG=0 #--- The local repository for packages/file # Used only if GETPKG = 1 # 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 0(no)/1(yes) RUNMAKE=0 #--- 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? # 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 #--- Run the stripping phases 0(no)/1(yes) STRIP=1 #--- page definition for groff letter/A4 PAGE=letter #--- set default timezone. TIMEZONE=${TZ:-GMT} #--- install the optional vim-lang package 0(no)/1(yes) VIMLANG=1 #--- Language information in /etc/profile See 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? 0(no)/1(yes) COMPARE=1 #--- The number of final stage builds to create and compare, min. 2, max. 5 ITERATIONS=3 #--- Run ICA testing 0(no)/1(yes) RUN_ICA=0 #--- Run farce testing 0(no)/1(yes) RUN_FARCE=0 #==== 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