aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05
diff options
context:
space:
mode:
authorPierre Labastie <pieere@linuxfromscratch.org>2020-05-30 18:22:47 +0000
committerPierre Labastie <pieere@linuxfromscratch.org>2020-05-30 18:22:47 +0000
commitae7f075dd6185f9ec93d5aedbb46e98511f25235 (patch)
tree910ae466b675094d23e33c62fa9a598b67fccfd7 /chapter05
parentf4bb2af2e4b9c007a6e660409e9fd5670c3469df (diff)
Update to trunk r11877
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross-chap5@11878 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05')
-rw-r--r--chapter05/chapter05.xml1
-rw-r--r--chapter05/createfiles.xml8
-rw-r--r--chapter05/kernfs.xml2
3 files changed, 9 insertions, 2 deletions
diff --git a/chapter05/chapter05.xml b/chapter05/chapter05.xml
index e12bba837..5d8ada259 100644
--- a/chapter05/chapter05.xml
+++ b/chapter05/chapter05.xml
@@ -22,7 +22,6 @@
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="m4.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ncurses.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="bash.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="bzip2.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="coreutils.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="diffutils.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="file.xml"/>
diff --git a/chapter05/createfiles.xml b/chapter05/createfiles.xml
index c762c50b9..ce1f67ba7 100644
--- a/chapter05/createfiles.xml
+++ b/chapter05/createfiles.xml
@@ -156,6 +156,14 @@ EOF</userinput></screen>
administrator since well-written programs do not depend on GID numbers, but
rather use the group's name.</para>
+ <para>Some tests in <xref linkend="chapter-building-system"/> need a regular
+ user. We add this user here and delete this account at the end of that
+ chapter.</para>
+
+<screen><userinput>echo "tester:x:101:101::/home/tester:/bin/bash" &gt;&gt; /etc/passwd
+echo "tester:x:101:" &gt;&gt; /etc/group
+install -o tester -d /home/tester</userinput></screen>
+
<para>To remove the <quote>I have no name!</quote> prompt, start a new
shell. Since the
<filename>/etc/passwd</filename> and <filename>/etc/group</filename>
diff --git a/chapter05/kernfs.xml b/chapter05/kernfs.xml
index b82ac4e7b..dd6b8991c 100644
--- a/chapter05/kernfs.xml
+++ b/chapter05/kernfs.xml
@@ -68,7 +68,7 @@ mknod -m 666 $LFS/dev/null c 1 3</userinput></screen>
<para>Now mount the remaining virtual kernel filesystems:</para>
-<screen><userinput>mount -vt devpts devpts $LFS/dev/pts -o gid=5,mode=620
+<screen><userinput>mount -v --bind /dev/pts $LFS/dev/pts
mount -vt proc proc $LFS/proc
mount -vt sysfs sysfs $LFS/sys
mount -vt tmpfs tmpfs $LFS/run</userinput></screen>