diff options
-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\$ ' \ |