aboutsummaryrefslogtreecommitdiffstats
path: root/chapter09/reboot.xml
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2014-01-21 18:49:14 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2014-01-21 18:49:14 +0000
commit053b2060bbedf5187f62affe9ed61961940e46fa (patch)
tree637b965b0f3fc96a59dd9f02c1eef3d07921bf2b /chapter09/reboot.xml
parentcb23c1a6ab0a3c279df1f453ef9585b062963ec4 (diff)
Moved util-linux final build to be after udev.
Fixed up e2fsprogs and udev to use the Chapter 5 build of util-linux. Changed umount instructions in Chapter 9 to be compatible with changes in mounting /run as a tmpfs. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10448 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter09/reboot.xml')
-rw-r--r--chapter09/reboot.xml10
1 files changed, 1 insertions, 9 deletions
diff --git a/chapter09/reboot.xml b/chapter09/reboot.xml
index d8d4aa00d..cf95c024f 100644
--- a/chapter09/reboot.xml
+++ b/chapter09/reboot.xml
@@ -87,16 +87,8 @@
<para>Then unmount the virtual file systems:</para>
<screen><userinput>umount -v $LFS/dev/pts
-
-if [ -h $LFS/dev/shm ]; then
- link=$(readlink $LFS/dev/shm)
- umount -v $LFS/$link
- unset link
-else
- umount -v $LFS/dev/shm
-fi
-
umount -v $LFS/dev
+umount -v $LFS/run
umount -v $LFS/proc
umount -v $LFS/sys</userinput></screen>