1 | <?xml version="1.0" encoding="ISO-8859-1"?> |
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" |
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ |
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent"> |
---|
5 | %general-entities; |
---|
6 | ]> |
---|
7 | |
---|
8 | <sect1 id="ch-boot-eudev" role="wrap"> |
---|
9 | <?dbhtml filename="eudev.html"?> |
---|
10 | |
---|
11 | <title>Eudev-&eudev-version;</title> |
---|
12 | |
---|
13 | <indexterm zone="ch-boot-eudev"> |
---|
14 | <primary sortas="a-Eudev">Eudev</primary> |
---|
15 | </indexterm> |
---|
16 | |
---|
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> |
---|
24 | |
---|
25 | <sect2 role="installation"> |
---|
26 | <title>Installation of Eudev</title> |
---|
27 | |
---|
28 | <para os="a">Prepare Eudev for compilation:</para> |
---|
29 | |
---|
30 | <screen os="b"><userinput>BLKID_CFLAGS="-I/tools/include" BLKID_LIBS="-L/tools/lib -lblkid" \ |
---|
31 | KMOD_CFLAGS="-I/tools/include/" KMOD_LIBS="-L/tools/lib -lkmod" \ |
---|
32 | ./configure --prefix=/tools --build=${CLFS_HOST} --host=${CLFS_TARGET} \ |
---|
33 | --disable-introspection --disable-gtk-doc-html \ |
---|
34 | --disable-gudev --disable-keymap --with-firmware-path=/lib/firmware \ |
---|
35 | --enable-libkmod</userinput></screen> |
---|
36 | |
---|
37 | <para os="c">Compile the package:</para> |
---|
38 | |
---|
39 | <screen os="d"><userinput>make</userinput></screen> |
---|
40 | |
---|
41 | <para os="g">Install the package:</para> |
---|
42 | |
---|
43 | <screen os="j"><userinput>make install</userinput></screen> |
---|
44 | |
---|
45 | <para os="i">Create a directory for storing firmware that can be |
---|
46 | loaded by <command>udev</command>:</para> |
---|
47 | |
---|
48 | <screen os="k"><userinput>install -dv /tools/lib/firmware</userinput></screen> |
---|
49 | |
---|
50 | <para os="r1">Create a dummy rule so that Eudev will name ethernet devices properly for the system.</para> |
---|
51 | |
---|
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> |
---|
54 | |
---|
55 | </sect2> |
---|
56 | |
---|
57 | <sect2 role="content"> |
---|
58 | <title/> |
---|
59 | |
---|
60 | <para>Details on this package are located in <xref |
---|
61 | linkend="contents-eudev" role="."/></para> |
---|
62 | |
---|
63 | </sect2> |
---|
64 | |
---|
65 | </sect1> |
---|