blob: 68d62a157813ed668aab4a6d4a8ab836c8f53214 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
#!/bin/bash
# Begin book environment settings
PS1='\u:\w\$ '
set +h
umask 022
LFS="/mnt/lfs"
LC_ALL="POSIX"
LFS_TGT="$(uname -m)"-lfs-linux-gnu
PATH=/usr/bin
if [[ ! -L /bin ]]; then PATH="/bin:${PATH}"; fi
PATH="${LFS}/tools/bin:${PATH}"
CONFIG_SITE="${LFS}/usr/share/config.site"
# End book environment settings
# LFS Version being built
LFS_VER="LFS_10_1"
# Disk where LFS partition will exist / or exists
LFS_DISK="/dev/sdb"
# Partition number where LFS will exist / or exists
LFS_PART="1"
# Filesystem to use for LFS
LFS_FS="EXT4"
# Swap device to use for LFS
LFS_SWAP="/dev/sda2"
# LFS User password (not used at this time)
LFS_PWD="lfs"
# Get number of online processors
NUMPROCS="$(getconf _NPROCESSORS_ONLN)"
numjobs="$((NUMPROCS * 2 - 1))"
# Make flags for multiple jobs
MAKEFLAGS="-j${numjobs}"
NINJAJOBS="${NUMPROCS}"
unset numjobs
# Set spinner type (0-12 in funtions.sh)
SPINNER="0"
TESTERUID="$(id -u)" \
export PS1 LC_ALL LFS LFS_TGT PATH CONFIG_SITE
export LFS_VER LFS_DISK LFS_FS LFS_PART LFS_PWD NUMPROCS MAKEFLAGS NINJAJOBS
export SPINNER
export TESTERUID
# Features of this build system won't like vt100/vt220 and some others.
# Set to xterm
TERM="xterm"
|