diff options
Diffstat (limited to 'env.sh')
-rw-r--r-- | env.sh | 114 |
1 files changed, 57 insertions, 57 deletions
@@ -1,57 +1,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" +#!/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"
|