This patch fixes a minor bug in the CLFS book where the /dev/null and
/dev/console nodes are created in the original tree rather than the final,
copied tree.  See:

http://lists.cross-lfs.org/pipermail/clfs-support-cross-lfs.org/2011-October/001278.html
From 5ef125dda90e24cf0ce827aa441174425aea9649 Mon Sep 17 00:00:00 2001
From: ljump <ljump@macub10.(none)>
Date: Fri, 21 Oct 2011 11:15:56 -0400
Subject: [PATCH] Fixed creation of /dev/null,console nodes to created them in the copy rather than the original tree.

---
 BOOK/cleanup/chowning.xml |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/BOOK/cleanup/chowning.xml b/BOOK/cleanup/chowning.xml
index 9819fd1..566ba0d 100644
--- a/BOOK/cleanup/chowning.xml
+++ b/BOOK/cleanup/chowning.xml
@@ -38,7 +38,7 @@
   <para>The following device nodes need to be created for some systems to
   boot correctly:</para>
 
-<screen><userinput>mknod -m 0666 ${CLFS}/dev/null c 1 3
-mknod -m 0600 ${CLFS}/dev/console c 5 1</userinput></screen>
+<screen><userinput>mknod -m 0666 ${CLFS}-final/dev/null c 1 3
+mknod -m 0600 ${CLFS}-final/dev/console c 5 1</userinput></screen>
 
 </sect1>
-- 
1.7.0.4

_______________________________________________
Clfs-dev mailing list
[email protected]
http://lists.cross-lfs.org/listinfo.cgi/clfs-dev-cross-lfs.org

Reply via email to