aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08/coreutils.xml
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2020-06-12 04:40:07 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2020-06-12 04:40:07 +0000
commit6a156bab1b41dfcbebcf69325dff81b73a2afad7 (patch)
tree39451253ebce7058ff7282090bd572ac36dff998 /chapter08/coreutils.xml
parentea7ec72fba2b9749da2c22db67152eccaef5dfb0 (diff)
Mostly text updates in Chapter 8.
There are a couple of minor command changes. git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11924 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter08/coreutils.xml')
-rw-r--r--chapter08/coreutils.xml25
1 files changed, 15 insertions, 10 deletions
diff --git a/chapter08/coreutils.xml b/chapter08/coreutils.xml
index d97b9558a..13aaaa2c4 100644
--- a/chapter08/coreutils.xml
+++ b/chapter08/coreutils.xml
@@ -111,9 +111,9 @@ FORCE_UNSAFE_CONFIGURE=1 ./configure \
<screen><userinput remap="test">make NON_ROOT_USERNAME=tester check-root</userinput></screen>
<para>We're going to run the remainder of the tests as the
- <systemitem class="username">tester</systemitem> user. Certain tests,
- however, require that the user be a member of more than one group. So that
- these tests are not skipped we'll add a temporary group and make the
+ <systemitem class="username">tester</systemitem> user. Certain tests
+ require that the user be a member of more than one group. So that
+ these tests are not skipped, add a temporary group and make the
user <systemitem class="username">tester</systemitem> a part of it:</para>
<screen><userinput remap="test">echo "dummy:x:102:tester" &gt;&gt; /etc/group</userinput></screen>
@@ -126,12 +126,6 @@ FORCE_UNSAFE_CONFIGURE=1 ./configure \
<para>Now run the tests:</para>
<screen><userinput remap="test">su tester -c "PATH=$PATH make RUN_EXPENSIVE_TESTS=yes check"</userinput></screen>
-<!--
- <para>The test program test-getlogin is known to fail in a
- partially built system environment like the chroot environment here, but
- passes if run at the end of this chapter. The test program tty.sh is
- also known to fail.</para>
--->
<para>Remove the temporary group:</para>
@@ -147,7 +141,7 @@ mv -v /usr/bin/{false,ln,ls,mkdir,mknod,mv,pwd,rm} /bin
mv -v /usr/bin/{rmdir,stty,sync,true,uname} /bin
mv -v /usr/bin/chroot /usr/sbin
mv -v /usr/share/man/man1/chroot.1 /usr/share/man/man8/chroot.8
-sed -i s/\"1\"/\"8\"/1 /usr/share/man/man8/chroot.8</userinput></screen>
+sed -i 's/"1"/"8"' /usr/share/man/man8/chroot.8</userinput></screen>
<para revision="sysv">Some of the scripts in the LFS-Bootscripts package
depend on <command>head</command>, <command>nice</command>,
@@ -190,6 +184,17 @@ sed -i s/\"1\"/\"8\"/1 /usr/share/man/man8/chroot.8</userinput></screen>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
+ <varlistentry id="lbracket">
+ <term><command>[</command></term>
+ <listitem>
+ <para>Is an actual command, /usr/bin/[, that is a synonym
+ for the <command>test</command> command.</para>
+ <indexterm zone="ch-system-coreutils lbracket">
+ <primary sortas="b-111">[</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
<varlistentry id="base32">
<term><command>base32</command></term>
<listitem>