Bläddra i källkod

Added Makedev to chapter 5

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@121 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Gerard Beekmans 24 år sedan
förälder
incheckning
c93a7a65cb
3 ändrade filer med 47 tillägg och 0 borttagningar
  1. 12 0
      chapter01/changelog.sgml
  2. 27 0
      chapter05/makedev-inst.sgml
  3. 8 0
      chapter05/makedev.sgml

+ 12 - 0
chapter01/changelog.sgml

@@ -22,6 +22,18 @@ Chapter 5: Added static mawk, texinfo and partially gettext to faciliate
 the move of Glibc from Chapter 5 to Chapter 6.
 </para></listitem>
 
+<listitem><para>
+Chapter 5: Added Makedev to chapter 5. We don't create the device files
+here, only copy the MAKEDEV script and make a temp copy which will be
+used to create device files. This second file (MAKEDEV-temp) doesn't
+contain user names and group names but only user id's and group id's. We
+need a few device files to get Glibc installed, but before GLibc is
+installed user and group names are not recognized yet; only the numeric
+id's. This requires a slightly modified MAKEDEV script which will be
+generated by patching the original one. This patching is done here in
+chapter 5.
+</para></listitem>
+
 <listitem><para>
 Chapter 5+6: Added the fileutils-4.0 patch which is needed to compile
 the fileutils package on Glibc-2.2 based systems (such as the upcoming

+ 27 - 0
chapter05/makedev-inst.sgml

@@ -0,0 +1,27 @@
+<sect2>
+<title>Installation of MAKEDEV</title>
+
+<para>
+Install MAKEDEV by running the following commands:
+</para>
+
+<blockquote><literallayout>
+
+	<userinput>sed "s/# 9/9/" MAKEDEV &gt;$LFS/dev/MAKEDEV
+		&amp;&amp;</userinput>
+	<userinput>chmod 754 $LFS/dev/MAKEDEV &amp;&amp;</userinput>
+	<userinput>cp $LFS/dev/MAKEDEV $LFS/dev/MAKEDEV-temp
+		&amp;&amp;</userinput>
+	<userinput>cd $LFS/dev &amp;&amp;</userinput>
+	<userinput>patch -Ni $LFS/usr/src/MAKEDEV-2.5.patch</userinput>
+
+
+</literallayout></blockquote>
+
+<para>
+The actual creation of the device files in $LFS/dev will be taken care
+of in chapter 6.
+</para>
+
+</sect2>
+

+ 8 - 0
chapter05/makedev.sgml

@@ -0,0 +1,8 @@
+<sect1 id="ch05-makedev">
+<title>Installing Makedev</title>
+
+&c5-pp-makedev-inst;
+&aa-makedev-desc;
+
+</sect1>
+