Sfoglia il codice sorgente

Moved the executables: nice, find, kbd_mode, openvt, and setfont to /bin. Added --datadir=/lib/kbd to kbd's configure.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7668 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Bruce Dubbs 19 anni fa
parent
commit
b540268f6a
4 ha cambiato i file con 48 aggiunte e 9 eliminazioni
  1. 7 0
      chapter01/changelog.xml
  2. 5 5
      chapter06/coreutils.xml
  3. 7 0
      chapter06/findutils.xml
  4. 29 4
      chapter06/kbd.xml

+ 7 - 0
chapter01/changelog.xml

@@ -38,6 +38,13 @@
     <listitem>
       <para>July 13, 2006</para>
       <itemizedlist>
+        <listitem>
+          <para>[bdubbs] - Moved the executables: nice, find, kbd_mode,
+          openvt, and setfont to /bin to support boot scripts.
+          Added --datadir=/lib/kbd to kbd's configure so that keyboard 
+          data will always be on the root partition.
+          </para>
+        </listitem>
         <listitem>
           <para>[bdubbs] - Updated text in section 7.9 (The Bash 
           Shell Startup Files) to better explain the Xlib example.

+ 5 - 5
chapter06/coreutils.xml

@@ -115,12 +115,12 @@ mv -v /usr/bin/{rmdir,stty,sync,true,uname} /bin
 mv -v /usr/bin/chroot /usr/sbin</userinput></screen>
 
     <para>Some of the scripts in the LFS-Bootscripts package depend on
-    <command>head</command> and <command>sleep</command>.  As
-    <filename class="directory">/usr</filename> may not be available during the
-    early stages of booting, those binaries need to be on the root
-    partition:</para>
+    <command>head</command>, <command>sleep</command>, and
+    <command>nice</command>.  As <filename class="directory">/usr</filename>
+    may not be available during the early stages of booting, those binaries
+    need to be on the root partition:</para>
 
-<screen><userinput>mv -v /usr/bin/{head,sleep} /bin</userinput></screen>
+<screen><userinput>mv -v /usr/bin/{head,sleep,nice} /bin</userinput></screen>
 
   </sect2>
 

+ 7 - 0
chapter06/findutils.xml

@@ -67,6 +67,13 @@
 
 <screen><userinput>make install</userinput></screen>
 
+    <para>Some of the scripts in the LFS-Bootscripts package depend on
+    <command>find</command>.  As <filename class="directory">/usr</filename>
+    may not be available during the early stages of booting, this program
+    needs to be on the root partition:</para>
+
+<screen><userinput>mv -v /usr/bin/find /bin</userinput></screen>
+                    
   </sect2>
 
   <sect2 id="contents-findutils" role="content">

+ 29 - 4
chapter06/kbd.xml

@@ -50,7 +50,21 @@
 
     <para>Prepare Kbd for compilation:</para>
 
-<screen><userinput>./configure</userinput></screen>
+<screen><userinput>./configure --datadir=/lib/kbd</userinput></screen>
+
+    <variablelist>
+      <title>The meaning of the configure options:</title>
+
+      <varlistentry>
+        <term><parameter>--datadir=/lib/kbd</parameter></term>
+        <listitem>
+          <para>This option puts keyboard layout data in a directory that will
+          always be on the root partition instead of the default <filename
+          class="directory">/usr/share/kbd</filename>.</para>
+       </listitem>
+      </varlistentry>
+
+    </variablelist>
 
     <para>Compile the package:</para>
 
@@ -64,11 +78,22 @@
 
     <note>
       <para>For some languages (e.g., Belarusian) the Kbd package doesn't
-      provide a useful keymap (the stock <quote>by</quote> keymap assumes the
-      ISO-8859-5 encoding, while everybody uses CP1251 instead). Users of such
-      languages have to download working keymaps separately.</para>
+      provide a useful keymap where the stock <quote>by</quote> keymap assumes
+      the ISO-8859-5 encoding, and the CP1251 keymap is normally used. Users of
+      such languages have to download working keymaps separately.</para>
     </note>
 
+    <para>Some of the scripts in the LFS-Bootscripts package depend on
+    <command>kbd_mode</command>, <command>openvt</command>, and
+    <command>setfont</command>.  As <filename class="directory">/usr</filename>
+    may not be available during the early stages of booting, those binaries
+    need to be on the root partition:</para>
+
+<screen><userinput>mv -v /usr/bin/{kbd_mode,openvt,setfont} /bin</userinput></screen>
+
+
+
+
   </sect2>
 
   <sect2 id="contents-kbd" role="content">