On 3/27/20 7:31 AM, Kevin Buckley via lfs-dev wrote:
This patch tunrs the paragraph explanations of the contents of the
.bashrc file into a variable list, thereby highlighting the individual
commands before explaing them.
This appears to be a more standard way to explain command lines across
the Books.
All it does is move the existing paragraph text into a variable list.
Also alludes to the fact tha the shell executes the commands within
the .bashrc file, and not just reads them.
The revision number here is my local copy of the LFS Repo's 9.1 tag.
The patch applies, but there are some issues:
Index: chapter04/settingenviron.xml
===================================================================
--- chapter04/settingenviron.xml (revision 192)
+++ chapter04/settingenviron.xml (working copy)
[snip]
- <para>The <envar>LFS</envar> variable should be set to the chosen mount
- point.</para>
-
+ <varlistentry>
+ <term><parameter>LFS=/mnt/lfs</parameter></term>
+ <listitem>
<para>The <envar>LC_ALL</envar> variable controls the localization of
certain
programs, making their messages follow the conventions of a
specified country.
Setting <envar>LC_ALL</envar> to <quote>POSIX</quote> or <quote>C</quote>
(the two are equivalent) ensures that everything will work as expected in
the chroot environment.</para>
+ </listitem>
+ </varlistentry>
You set LFS=/mnt/lfs but the description is for LC_ALL=POSIX.
+ <varlistentry>
+ <term><parameter>LC_ALL=POSIX</parameter></term>
+ <listitem>
+ <para>This parameter prevents possible copying of files from a skeleton
+ directory (default is <filename class="directory">/etc/skel</filename>)
+ by changing the input location to the special null device.</para>
+ </listitem>
+ </varlistentry>
Say what?
+ <varlistentry>
+ <term><parameter>export LFS LC_ALL LFS_TGT PATH</parameter></term>
+ <listitem>
+ <para>Whilst the above commands have set some variables, in order
+ to make them visible within any sub-shells, we export them</para>
+ </listitem>
+ </varlistentry>
s/Whilst/While/
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page