| [bf8c11f] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
 | 
|---|
 | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
 | 
|---|
 | 3 |   "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
 | 
|---|
 | 4 |   <!ENTITY % general-entities SYSTEM "../../general.ent">
 | 
|---|
 | 5 |   %general-entities;
 | 
|---|
 | 6 | ]>
 | 
|---|
 | 7 | 
 | 
|---|
 | 8 | <sect1 id="ch-chroot-util-linux" role="wrap">
 | 
|---|
 | 9 |   <?dbhtml filename="util-linux.html"?>
 | 
|---|
 | 10 | 
 | 
|---|
 | 11 |   <title>Util-linux-&util-linux-version;</title>
 | 
|---|
 | 12 | 
 | 
|---|
 | 13 |   <indexterm zone="ch-chroot-util-linux">
 | 
|---|
 | 14 |     <primary sortas="a-Util-linux">Util-linux</primary>
 | 
|---|
 | 15 |     <secondary>chroot</secondary>
 | 
|---|
 | 16 |   </indexterm>
 | 
|---|
 | 17 | 
 | 
|---|
| [fd7eb24] | 18 |   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
 | 
|---|
 | 19 |   href="../../final-system/common/util-linux.xml"
 | 
|---|
 | 20 |   xpointer="xpointer(//*[@role='package'])"/>
 | 
|---|
| [bf8c11f] | 21 | 
 | 
|---|
 | 22 |   <sect2 role="installation">
 | 
|---|
 | 23 |     <title>Installation of Util-linux</title>
 | 
|---|
 | 24 | 
 | 
|---|
 | 25 |     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
 | 
|---|
 | 26 |     href="../../final-system/common/util-linux.xml"
 | 
|---|
| [e6423a01] | 27 |     xpointer="xpointer(//*[@os='p3'])"/>
 | 
|---|
| [bf8c11f] | 28 | 
 | 
|---|
 | 29 |     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
 | 
|---|
 | 30 |     href="../../final-system/common/util-linux.xml"
 | 
|---|
| [e6423a01] | 31 |     xpointer="xpointer(//*[@os='p4'])"/>
 | 
|---|
| [bf8c11f] | 32 | 
 | 
|---|
 | 33 |     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
 | 
|---|
 | 34 |     href="../../boot/common/util-linux.xml"
 | 
|---|
 | 35 |     xpointer="xpointer(//*[@os='ba'])"/>
 | 
|---|
 | 36 | 
 | 
|---|
| [dd9906e] | 37 | <screen os="ca"><userinput>cp -v configure configure.orig
 | 
|---|
| [bf8c11f] | 38 | sed -e 's@/usr/include@/tools/include@g' configure.orig > configure</userinput></screen>
 | 
|---|
 | 39 | 
 | 
|---|
 | 40 |     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
 | 
|---|
 | 41 |     href="../../final-system/common/util-linux.xml"
 | 
|---|
| [45ac04d2] | 42 |     xpointer="xpointer(//*[@os='a'])"/>
 | 
|---|
| [bf8c11f] | 43 | 
 | 
|---|
| [6069286] | 44 | <screen os="cb"><userinput>./configure</userinput></screen>
 | 
|---|
| [bf8c11f] | 45 | 
 | 
|---|
| [6069286] | 46 |     <para os="cc">Compile some support routines:</para>
 | 
|---|
| [bf8c11f] | 47 | 
 | 
|---|
 | 48 | <screen os="cd"><userinput>make ARCH="" CPU="" -C lib</userinput></screen>
 | 
|---|
 | 49 | 
 | 
|---|
| [6309d01] | 50 |     <variablelist os="bg">
 | 
|---|
 | 51 |       <title>The meaning of the make parameters:</title>
 | 
|---|
 | 52 | 
 | 
|---|
 | 53 |       <varlistentry>
 | 
|---|
 | 54 |         <term><parameter>ARCH=""</parameter></term>
 | 
|---|
 | 55 |         <listitem>
 | 
|---|
 | 56 |           <para>This disables the detection of the architecture.</para>
 | 
|---|
 | 57 |         </listitem>
 | 
|---|
 | 58 |       </varlistentry>
 | 
|---|
 | 59 | 
 | 
|---|
 | 60 |       <varlistentry>
 | 
|---|
 | 61 |         <term><parameter>CPU=""</parameter></term>
 | 
|---|
 | 62 |         <listitem>
 | 
|---|
 | 63 |           <para>This disables the detection of the CPU.</para>
 | 
|---|
 | 64 |         </listitem>
 | 
|---|
 | 65 |       </varlistentry>
 | 
|---|
 | 66 | 
 | 
|---|
 | 67 |     </variablelist>
 | 
|---|
 | 68 | 
 | 
|---|
| [bf8c11f] | 69 |     <para os="ce">Only a few of the utilities contained in this package need to be
 | 
|---|
 | 70 |     built:</para>
 | 
|---|
 | 71 | 
 | 
|---|
 | 72 | <screen os="cf"><userinput>make ARCH="" CPU="" -C mount mount umount
 | 
|---|
 | 73 | make ARCH="" CPU="" -C text-utils more</userinput></screen>
 | 
|---|
 | 74 | 
 | 
|---|
 | 75 |     <para os="cg">Copy these programs to the temporary tools directory:</para>
 | 
|---|
 | 76 | 
 | 
|---|
| [dd9906e] | 77 | <screen os="ch"><userinput>cp -v mount/{,u}mount text-utils/more /tools/bin</userinput></screen>
 | 
|---|
| [bf8c11f] | 78 | 
 | 
|---|
 | 79 |   </sect2>
 | 
|---|
 | 80 | 
 | 
|---|
 | 81 |   <sect2 role="content">
 | 
|---|
 | 82 |     <title/>
 | 
|---|
 | 83 | 
 | 
|---|
 | 84 |     <para>Details on this package are located in <xref
 | 
|---|
 | 85 |     linkend="contents-util-linux" role="."/></para>
 | 
|---|
 | 86 | 
 | 
|---|
 | 87 |   </sect2>
 | 
|---|
 | 88 | 
 | 
|---|
 | 89 | </sect1>
 | 
|---|