aboutsummaryrefslogtreecommitdiffstats
path: root/env.sh
blob: 837942a5e49188428cd26aeed7643290af61763b (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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
<<<<<<< HEAD
#!/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"
=======
#!/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"
>>>>>>> 6132c19762b7d74ba7ad06e291b6401c632bbc28