From 355567235c365064574fe1df8fafe1b4b979cdcd Mon Sep 17 00:00:00 2001
From: William Harrington <kb0iic@berzerkula.org>
Date: Sun, 21 Mar 2021 06:37:56 -0500
Subject: Add env.sh and separate environment settings from main lfs.sh script.

---
 env.sh | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)
 create mode 100644 env.sh

diff --git a/env.sh b/env.sh
new file mode 100644
index 0000000..515995d
--- /dev/null
+++ b/env.sh
@@ -0,0 +1,33 @@
+#!/bin/bash
+
+# Begin book environment settings
+export PS1='\u:\w\$ '
+set +h
+umask 022
+
+export LFS=/mnt/lfs
+export LC_ALL=POSIX
+export LFS_TGT=$(uname -m)-lfs-linux-gnu
+PATH=/usr/bin
+if [ ! -L /bin ]; then PATH=/bin:${PATH}; fi
+export PATH=${LFS}/tools/bin:${PATH}
+export CONFIG_SITE=${LFS}/usr/share/config.site
+# End book environment settings
+
+# LFS Version being built
+export LFS_VER=LFS10_1
+
+# Disk where LFS partition will exist / or exists
+export LFS_DISK=/dev/sdb
+
+# Partition number where LFS will exist / or exists
+export LFS_ROOT=1
+
+# LFS User password (not used at this time)
+export LFS_PWD=lfs
+
+# Sources directory for LFS
+export LFS_SRC=${LFS}/sources
+
+# Make flags for multiple jobs
+export MAKEFLAGS="-j 3"
\ No newline at end of file
-- 
cgit v1.2.3-54-g00ecf