<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
  <!ENTITY % general-entities SYSTEM "../../general.ent">
  %general-entities;
]>

<sect1 id="ch-chroot-util-linux" role="wrap">
  <?dbhtml filename="util-linux.html"?>

  <title>Util-linux-&util-linux-version;</title>

  <indexterm zone="ch-chroot-util-linux">
    <primary sortas="a-Util-linux">Util-linux</primary>
    <secondary>chroot</secondary>
  </indexterm>

  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  href="../../final-system/common/util-linux.xml"
  xpointer="xpointer(//*[@role='package'])"/>

  <sect2 role="installation">
    <title>Installation of Util-linux</title>

    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    href="../../final-system/common/util-linux.xml"
    xpointer="xpointer(//*[@os='p3'])"/>

    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    href="../../final-system/common/util-linux.xml"
    xpointer="xpointer(//*[@os='p4'])"/>

    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    href="../../boot/common/util-linux.xml"
    xpointer="xpointer(//*[@os='ba'])"/>

    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    href="../../boot/common/util-linux.xml"
    xpointer="xpointer(//*[@os='bb'])"/>

    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    href="../../final-system/common/util-linux.xml"
    xpointer="xpointer(//*[@os='a'])"/>

    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    href="../../boot/common/util-linux.xml"
    xpointer="xpointer(//*[@os='be'])"/>

    <para os="cc">Compile some support routines:</para>

<screen os="cd"><userinput>make ARCH="" CPU="" -C lib</userinput></screen>

    <variablelist os="bg">
      <title>The meaning of the make parameters:</title>

      <varlistentry>
        <term><parameter>ARCH=""</parameter></term>
        <listitem>
          <para>This disables the detection of the architecture.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><parameter>CPU=""</parameter></term>
        <listitem>
          <para>This disables the detection of the CPU.</para>
        </listitem>
      </varlistentry>

    </variablelist>

    <para os="ce">Only a few of the utilities contained in this package need to be
    built:</para>

<screen os="cf"><userinput>make ARCH="" CPU="" -C mount mount umount
make ARCH="" CPU="" -C text-utils more</userinput></screen>

    <para os="cg">Copy these programs to the temporary tools directory:</para>

<screen os="ch"><userinput>cp -v mount/{,u}mount text-utils/more /tools/bin</userinput></screen>

  </sect2>

  <sect2 role="content">
    <title/>

    <para>Details on this package are located in <xref
    linkend="contents-util-linux" role="."/></para>

  </sect2>

</sect1>
