diff --git a/chapter07/chroot.xml b/chapter07/chroot.xml index 6404c0625..a4d79a84e 100644 --- a/chapter07/chroot.xml +++ b/chapter07/chroot.xml @@ -18,11 +18,11 @@ environment that is, at the moment, populated with only the temporary tools: -chroot "$LFS" /usr/bin/env -i \ - HOME=/root \ - TERM="$TERM" \ - PS1='(lfs chroot) \u:\w\$ ' \ - PATH=/usr/bin:/usr/sbin \ +chroot "$LFS" /usr/bin/env -i \ + HOME=/root \ + TERM="$TERM" \ + PS1='(lfs chroot) \u:\w\$ ' \ + PATH=/usr/bin:/usr/sbin:/opt/rustc/bin \ /bin/bash --login The -i option given to the env