rust: chroot: include /opt/rustc/bin into $PATH

This commit is contained in:
Xi Ruoyao 2022-10-09 20:03:44 +08:00
parent 3ed3ce652f
commit 50e90ce908
No known key found for this signature in database
GPG Key ID: ACAAD20E19E710E3

View File

@ -18,11 +18,11 @@
environment that is, at the moment, populated with only the temporary
tools:</para>
<screen role="nodump"><userinput>chroot "$LFS" /usr/bin/env -i \
HOME=/root \
TERM="$TERM" \
PS1='(lfs chroot) \u:\w\$ ' \
PATH=/usr/bin:/usr/sbin \
<screen role="nodump"><userinput>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</userinput></screen>
<para>The <parameter>-i</parameter> option given to the <command>env</command>