- Timestamp:
- 06/22/2020 07:47:08 AM (4 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- ee0638f
- Parents:
- 686c88b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter04/settingenviron.xml
r686c88b r3a38c46 158 158 <para>Several commercial distributions add a non-documented instantiation 159 159 of <filename>/etc/bash.bashrc</filename> to the initialization of 160 <command>bash</command>. This file has the potential to modify the lfs 160 <command>bash</command>. This file has the potential to modify the 161 <systemitem class="username">lfs</systemitem> 161 162 user's envirnment in ways that can affect the building of critical LFS 162 packages. To make sure the lfs user's envronment is clean, check for the 163 packages. To make sure the <systemitem class="username">lfs</systemitem> 164 user's envronment is clean, check for the 163 165 presence of <filename>/etc/bash.bashrc</filename> and, if present, move it 164 out of the way. As the root user, run:</para> 166 out of the way. As the <systemitem class="username">root</systemitem> 167 user, run:</para> 165 168 166 <screen role="nodump"><userinput> mv -v /etc/bash.bashrc /etc/bash.bashrc.NOUSE</userinput></screen>169 <screen role="nodump"><userinput>[ ! -e /etc/bash.bashrc ] || mv -v /etc/bash.bashrc /etc/bash.bashrc.NOUSE</userinput></screen> 167 170 168 <para>After use of the lfs user is finished at the endof <xref171 <para>After use of the lfs user is finished at the beginning of <xref 169 172 linkend="chapter-chroot-temporary-tools"/>, you can restore 170 <filename>/etc/bash.bashrc</filename> (if desired).</para> 173 <filename>/etc/bash.bashrc</filename> (if desired).</para> 174 175 <para>Note that the LFS Bash package we will build in 176 <xref linkend="ch-system-bash"/> is not configured to load or execute 177 <filename>/etc/bash.bashrc</filename>, so this file is useless on a 178 completed LFS system.</para> 171 179 </important> 172 180
Note:
See TracChangeset
for help on using the changeset viewer.