diff options
author | William Harrington <kb0iic@berzerkula.org> | 2021-04-08 10:06:27 -0500 |
---|---|---|
committer | William Harrington <kb0iic@berzerkula.org> | 2021-04-08 10:06:27 -0500 |
commit | d9231dac368a664dd9d2304a8b70b8b79fa9dee5 (patch) | |
tree | eafb5eae40548d22dcd0abb2fbe74503ee74e9c5 | |
parent | 87354eeb032796d3e1c7900f083cf841aaa4f6c1 (diff) |
Add -i to env command during chroot.
-rwxr-xr-x | lfs.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -151,7 +151,7 @@ sleep 3 # Create chapter7 log directory as non root user mkdir -p "${LFS}"/sources/log/chapter7 -sudo chroot "${LFS}" /usr/bin/env \ +sudo chroot "${LFS}" /usr/bin/env -i \ HOME=/root \ TERM="${TERM}" \ PS1='(lfs chroot) \u:\w\$ ' \ @@ -182,7 +182,7 @@ printf "%b" "\n${CYN}ENTERING ${RED}CHROOT${CYN} ENVIRONMENT...${RST}\n" sleep 3 # Enter CHROOT for chapter 8, 9 and 10 -sudo chroot "${LFS}" /usr/bin/env \ +sudo chroot "${LFS}" /usr/bin/env -i \ HOME=/root \ TERM="${TERM}" \ PS1='(lfs chroot) \u:\w\$ ' \ |