[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>
|
---|
[3f8be484] | 15 | </indexterm>
|
---|
| 16 |
|
---|
[dafa360] | 17 | <sect2 role="package">
|
---|
| 18 | <title/>
|
---|
| 19 |
|
---|
| 20 | <para>The Eudev package contains programs for dynamic creation of device
|
---|
| 21 | nodes.</para>
|
---|
| 22 |
|
---|
| 23 | </sect2>
|
---|
[3f8be484] | 24 |
|
---|
| 25 | <sect2 role="installation">
|
---|
[b0307ef] | 26 | <title>Installation of Eudev</title>
|
---|
[3f8be484] | 27 |
|
---|
[dafa360] | 28 | <para os="a">Prepare Eudev for compilation:</para>
|
---|
[3f8be484] | 29 |
|
---|
[b0307ef] | 30 | <screen os="b"><userinput>BLKID_CFLAGS="-I/tools/include" BLKID_LIBS="-L/tools/lib -lblkid" \
|
---|
[8876eda] | 31 | KMOD_CFLAGS="-I/tools/include/" KMOD_LIBS="-L/tools/lib -lkmod" \
|
---|
| 32 | ./configure --prefix=/tools --build=${CLFS_HOST} --host=${CLFS_TARGET} \
|
---|
[90e8c97] | 33 | --disable-introspection --disable-gtk-doc-html \
|
---|
[cc056b6] | 34 | --disable-gudev --disable-keymap --with-firmware-path=/lib/firmware \
|
---|
| 35 | --enable-libkmod</userinput></screen>
|
---|
[1da2a84] | 36 |
|
---|
[dafa360] | 37 | <para os="c">Compile the package:</para>
|
---|
[1da2a84] | 38 |
|
---|
[dafa360] | 39 | <screen os="d"><userinput>make</userinput></screen>
|
---|
[3f8be484] | 40 |
|
---|
[dafa360] | 41 | <para os="g">Install the package:</para>
|
---|
[3f8be484] | 42 |
|
---|
[90e8c97] | 43 | <screen os="j"><userinput>make install</userinput></screen>
|
---|
[3f8be484] | 44 |
|
---|
[dafa360] | 45 | <para os="i">Create a directory for storing firmware that can be
|
---|
| 46 | loaded by <command>udev</command>:</para>
|
---|
[ef09b2e] | 47 |
|
---|
[d2ecc65] | 48 | <screen os="k"><userinput>install -dv /tools/lib/firmware</userinput></screen>
|
---|
[ef09b2e] | 49 |
|
---|
[dafa360] | 50 | <para os="r1">Create a dummy rule so that Eudev will name ethernet devices properly for the system.</para>
|
---|
[dcbb278] | 51 |
|
---|
[056e32f4] | 52 | <screen os="r2"><userinput>echo "# dummy, so that network is once again on eth*" > \
|
---|
| 53 | /tools/etc/udev/rules.d/80-net-name-slot.rules</userinput></screen>
|
---|
[dcbb278] | 54 |
|
---|
[679a675] | 55 | </sect2>
|
---|
[3f8be484] | 56 |
|
---|
[82fc053] | 57 | <sect2 role="content">
|
---|
| 58 | <title/>
|
---|
[3f8be484] | 59 |
|
---|
[82fc053] | 60 | <para>Details on this package are located in <xref
|
---|
| 61 | linkend="contents-eudev" role="."/></para>
|
---|
[3f8be484] | 62 |
|
---|
[dafa360] | 63 | </sect2>
|
---|
[3f8be484] | 64 |
|
---|
| 65 | </sect1>
|
---|