| 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 | 
 | 
|---|
| 18 |   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
 | 
|---|
| 19 |   href="../../final-system/common/util-linux.xml"
 | 
|---|
| 20 |   xpointer="xpointer(//*[@role='package'])"/>
 | 
|---|
| 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"
 | 
|---|
| 27 |     xpointer="xpointer(//*[@os='p3'])"/>
 | 
|---|
| 28 | 
 | 
|---|
| 29 |     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
 | 
|---|
| 30 |     href="../../final-system/common/util-linux.xml"
 | 
|---|
| 31 |     xpointer="xpointer(//*[@os='p4'])"/>
 | 
|---|
| 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 | 
 | 
|---|
| 37 | <screen os="ca"><userinput>cp -v configure configure.orig
 | 
|---|
| 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"
 | 
|---|
| 42 |     xpointer="xpointer(//*[@os='a'])"/>
 | 
|---|
| 43 | 
 | 
|---|
| 44 | <screen os="cb"><userinput>./configure</userinput></screen>
 | 
|---|
| 45 | 
 | 
|---|
| 46 |     <para os="cc">Compile some support routines:</para>
 | 
|---|
| 47 | 
 | 
|---|
| 48 | <screen os="cd"><userinput>make ARCH="" CPU="" -C lib</userinput></screen>
 | 
|---|
| 49 | 
 | 
|---|
| 50 |     <para os="ce">Only a few of the utilities contained in this package need to be
 | 
|---|
| 51 |     built:</para>
 | 
|---|
| 52 | 
 | 
|---|
| 53 | <screen os="cf"><userinput>make ARCH="" CPU="" -C mount mount umount
 | 
|---|
| 54 | make ARCH="" CPU="" -C text-utils more</userinput></screen>
 | 
|---|
| 55 | 
 | 
|---|
| 56 |     <para os="cg">Copy these programs to the temporary tools directory:</para>
 | 
|---|
| 57 | 
 | 
|---|
| 58 | <screen os="ch"><userinput>cp -v mount/{,u}mount text-utils/more /tools/bin</userinput></screen>
 | 
|---|
| 59 | 
 | 
|---|
| 60 |   </sect2>
 | 
|---|
| 61 | 
 | 
|---|
| 62 |   <sect2 role="content">
 | 
|---|
| 63 |     <title/>
 | 
|---|
| 64 | 
 | 
|---|
| 65 |     <para>Details on this package are located in <xref
 | 
|---|
| 66 |     linkend="contents-util-linux" role="."/></para>
 | 
|---|
| 67 | 
 | 
|---|
| 68 |   </sect2>
 | 
|---|
| 69 | 
 | 
|---|
| 70 | </sect1>
 | 
|---|