[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 \
|
---|
[cc056b6] | 33 | --disable-gudev --disable-keymap --with-firmware-path=/lib/firmware \
|
---|
| 34 | --enable-libkmod</userinput></screen>
|
---|
[1da2a84] | 35 |
|
---|
[dafa360] | 36 | <para os="c">Compile the package:</para>
|
---|
[1da2a84] | 37 |
|
---|
[dafa360] | 38 | <screen os="d"><userinput>make</userinput></screen>
|
---|
[3f8be484] | 39 |
|
---|
[dafa360] | 40 | <para os="g">Install the package:</para>
|
---|
[3f8be484] | 41 |
|
---|
[90e8c97] | 42 | <screen os="j"><userinput>make install</userinput></screen>
|
---|
[3f8be484] | 43 |
|
---|
[dafa360] | 44 | <para os="i">Create a directory for storing firmware that can be
|
---|
| 45 | loaded by <command>udev</command>:</para>
|
---|
[ef09b2e] | 46 |
|
---|
[d2ecc65] | 47 | <screen os="k"><userinput>install -dv /tools/lib/firmware</userinput></screen>
|
---|
[ef09b2e] | 48 |
|
---|
[dafa360] | 49 | <para os="r1">Create a dummy rule so that Eudev will name ethernet devices properly for the system.</para>
|
---|
[dcbb278] | 50 |
|
---|
[056e32f4] | 51 | <screen os="r2"><userinput>echo "# dummy, so that network is once again on eth*" > \
|
---|
| 52 | /tools/etc/udev/rules.d/80-net-name-slot.rules</userinput></screen>
|
---|
[dcbb278] | 53 |
|
---|
[679a675] | 54 | </sect2>
|
---|
[3f8be484] | 55 |
|
---|
[82fc053] | 56 | <sect2 role="content">
|
---|
| 57 | <title/>
|
---|
[3f8be484] | 58 |
|
---|
[82fc053] | 59 | <para>Details on this package are located in <xref
|
---|
| 60 | linkend="contents-eudev" role="."/></para>
|
---|
[3f8be484] | 61 |
|
---|
[dafa360] | 62 | </sect2>
|
---|
[3f8be484] | 63 |
|
---|
| 64 | </sect1>
|
---|