aboutsummaryrefslogtreecommitdiffstats
path: root/env.sh
diff options
context:
space:
mode:
authorWilliam Harrington <kb0iic@berzerkula.org>2021-04-05 14:01:56 -0500
committerWilliam Harrington <kb0iic@berzerkula.org>2021-04-05 14:01:56 -0500
commit95106e41d0abc92a05384092c93f266dbd1bd9e7 (patch)
tree494fe70c951365d5681bbbc541fe094dbd7eb2a7 /env.sh
parent2d6c50cadac6a03f8b57e92c3bc2f7988d0ae6a6 (diff)
Create directories and essential files outside of chroot. Then chroot. When stripping, exit status is not 0 when strip finds uknown formats. Just return true. Make createdirs, umountvirtfs and essential files as separate scripts.
Diffstat (limited to 'env.sh')
-rw-r--r--env.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/env.sh b/env.sh
index 5e11081..e265628 100644
--- a/env.sh
+++ b/env.sh
@@ -39,8 +39,12 @@ MAKEFLAGS="-j ${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
export SPINNER
+export TESTERUID
unset numjobs