From 95106e41d0abc92a05384092c93f266dbd1bd9e7 Mon Sep 17 00:00:00 2001 From: William Harrington Date: Mon, 5 Apr 2021 14:01:56 -0500 Subject: 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. --- env.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'env.sh') 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 -- cgit v1.2.3-54-g00ecf