aboutsummaryrefslogtreecommitdiffstats
path: root/lfs.sh
diff options
context:
space:
mode:
authorWilliam Harrington <kb0iic@berzerkula.org>2021-04-05 20:25:47 -0500
committerWilliam Harrington <kb0iic@berzerkula.org>2021-04-05 20:25:47 -0500
commit3c9e5e5d686df5ad6090732897a44a40fda8d946 (patch)
tree670fb3f5893ccfe7cfe5faf4f9dbaea7ac3b4ff3 /lfs.sh
parent95106e41d0abc92a05384092c93f266dbd1bd9e7 (diff)
Create chapter7 log directory as normal user so normal user can write logs to it.
Diffstat (limited to 'lfs.sh')
-rwxr-xr-xlfs.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/lfs.sh b/lfs.sh
index 0d2a894..ac10c67 100755
--- a/lfs.sh
+++ b/lfs.sh
@@ -149,6 +149,8 @@ source essential.sh
printf "%b" "\n${CYN}ENTERING ${RED}CHROOT${CYN} ENVIRONMENT${RST}...\n"
sleep 3
+# Create chapter7 log directory as non root user
+mkdir -p "${LFS}"/sources/log/chapter7
sudo chroot "${LFS}" /usr/bin/env \
HOME=/root \
TERM="${TERM}" \