[3f8be484] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[aa18ac0] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[3f8be484] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
| 7 |
|
---|
[01b60c4] | 8 | <sect1 id="ch-boot-eudev" role="wrap">
|
---|
| 9 | <?dbhtml filename="eudev.html"?>
|
---|
[3f8be484] | 10 |
|
---|
[01b60c4] | 11 | <title>Eudev-&eudev-version;</title>
|
---|
[3f8be484] | 12 |
|
---|
[01b60c4] | 13 | <indexterm zone="ch-boot-eudev">
|
---|
[b0307ef] | 14 | <primary sortas="a-Eudev">Eudev</primary>
|
---|
[3bffddc0] | 15 | <secondary>boot</secondary>
|
---|
[3f8be484] | 16 | </indexterm>
|
---|
| 17 |
|
---|
[dafa360] | 18 | <sect2 role="package">
|
---|
| 19 | <title/>
|
---|
| 20 |
|
---|
| 21 | <para>The Eudev package contains programs for dynamic creation of device
|
---|
| 22 | nodes.</para>
|
---|
| 23 |
|
---|
| 24 | </sect2>
|
---|
[3f8be484] | 25 |
|
---|
| 26 | <sect2 role="installation">
|
---|
[b0307ef] | 27 | <title>Installation of Eudev</title>
|
---|
[3f8be484] | 28 |
|
---|
[dafa360] | 29 | <para os="a">Prepare Eudev for compilation:</para>
|
---|
[3f8be484] | 30 |
|
---|
[9597c5a] | 31 | <screen os="b"><userinput>./configure --prefix=/tools --build=${CLFS_HOST} --host=${CLFS_TARGET} \
|
---|
[90e8c97] | 32 | --disable-introspection --disable-gtk-doc-html \
|
---|
[8ffe6ef] | 33 | --disable-gudev --disable-keymap --with-firmware-path=/tools/lib/firmware \
|
---|
[cc056b6] | 34 | --enable-libkmod</userinput></screen>
|
---|
[1da2a84] | 35 |
|
---|
[1380a69] | 36 | <variablelist os="b1">
|
---|
| 37 | <title>The meaning of the new configure options:</title>
|
---|
| 38 |
|
---|
| 39 | <varlistentry>
|
---|
| 40 | <term><parameter>--disable-introspection --disable-gtk-doc-html
|
---|
| 41 | --disable-gudev --disable-keymap</parameter></term>
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>These switches disable several features which are not needed
|
---|
| 44 | for the temporary system and have additional dependencies.</para>
|
---|
| 45 | </listitem>
|
---|
| 46 | </varlistentry>
|
---|
| 47 |
|
---|
| 48 | <varlistentry>
|
---|
| 49 | <term><parameter>--with-firmware-path=/tools/lib/firmware</parameter></term>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>This allows Eudev to load firmware from
|
---|
| 52 | <filename class="directory">/tools/lib/firmware</filename> instead of
|
---|
| 53 | the default location of <filename class="directory">/lib/firmware</filename>.</para>
|
---|
| 54 | </listitem>
|
---|
| 55 | </varlistentry>
|
---|
| 56 |
|
---|
| 57 | <varlistentry>
|
---|
| 58 | <term><parameter>--enable-libkmod</parameter></term>
|
---|
| 59 | <listitem>
|
---|
| 60 | <para>Allows Eudev to load modules by using
|
---|
| 61 | <filename class="libraryfile">libkmod</filename> directly.</para>
|
---|
| 62 | </listitem>
|
---|
| 63 | </varlistentry>
|
---|
| 64 |
|
---|
| 65 | </variablelist>
|
---|
| 66 |
|
---|
[dafa360] | 67 | <para os="c">Compile the package:</para>
|
---|
[1da2a84] | 68 |
|
---|
[dafa360] | 69 | <screen os="d"><userinput>make</userinput></screen>
|
---|
[3f8be484] | 70 |
|
---|
[dafa360] | 71 | <para os="g">Install the package:</para>
|
---|
[3f8be484] | 72 |
|
---|
[90e8c97] | 73 | <screen os="j"><userinput>make install</userinput></screen>
|
---|
[3f8be484] | 74 |
|
---|
[dafa360] | 75 | <para os="i">Create a directory for storing firmware that can be
|
---|
| 76 | loaded by <command>udev</command>:</para>
|
---|
[ef09b2e] | 77 |
|
---|
[d2ecc65] | 78 | <screen os="k"><userinput>install -dv /tools/lib/firmware</userinput></screen>
|
---|
[ef09b2e] | 79 |
|
---|
[dafa360] | 80 | <para os="r1">Create a dummy rule so that Eudev will name ethernet devices properly for the system.</para>
|
---|
[dcbb278] | 81 |
|
---|
[d3a81ee] | 82 | <screen os="r2"><userinput>echo "# dummy, so that network is once again on eth*" > \
|
---|
[056e32f4] | 83 | /tools/etc/udev/rules.d/80-net-name-slot.rules</userinput></screen>
|
---|
[dcbb278] | 84 |
|
---|
[679a675] | 85 | </sect2>
|
---|
[3f8be484] | 86 |
|
---|
[82fc053] | 87 | <sect2 role="content">
|
---|
| 88 | <title/>
|
---|
[3f8be484] | 89 |
|
---|
[82fc053] | 90 | <para>Details on this package are located in <xref
|
---|
| 91 | linkend="contents-eudev" role="."/></para>
|
---|
[3f8be484] | 92 |
|
---|
[dafa360] | 93 | </sect2>
|
---|
[3f8be484] | 94 |
|
---|
| 95 | </sect1>
|
---|