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 | <secondary>boot</secondary>
|
---|
16 | </indexterm>
|
---|
17 |
|
---|
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>
|
---|
25 |
|
---|
26 | <sect2 role="installation">
|
---|
27 | <title>Installation of Eudev</title>
|
---|
28 |
|
---|
29 | <para os="a">Prepare Eudev for compilation:</para>
|
---|
30 |
|
---|
31 | <screen os="b"><userinput>./configure --prefix=/tools --build=${CLFS_HOST} --host=${CLFS_TARGET} \
|
---|
32 | --disable-introspection --disable-gtk-doc-html \
|
---|
33 | --disable-gudev --disable-keymap --with-firmware-path=/tools/lib/firmware \
|
---|
34 | --enable-libkmod</userinput></screen>
|
---|
35 |
|
---|
36 | <para os="c">Compile the package:</para>
|
---|
37 |
|
---|
38 | <screen os="d"><userinput>make</userinput></screen>
|
---|
39 |
|
---|
40 | <para os="g">Install the package:</para>
|
---|
41 |
|
---|
42 | <screen os="j"><userinput>make install</userinput></screen>
|
---|
43 |
|
---|
44 | <para os="i">Create a directory for storing firmware that can be
|
---|
45 | loaded by <command>udev</command>:</para>
|
---|
46 |
|
---|
47 | <screen os="k"><userinput>install -dv /tools/lib/firmware</userinput></screen>
|
---|
48 |
|
---|
49 | <para os="r1">Create a dummy rule so that Eudev will name ethernet devices properly for the system.</para>
|
---|
50 |
|
---|
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>
|
---|
53 |
|
---|
54 | </sect2>
|
---|
55 |
|
---|
56 | <sect2 role="content">
|
---|
57 | <title/>
|
---|
58 |
|
---|
59 | <para>Details on this package are located in <xref
|
---|
60 | linkend="contents-eudev" role="."/></para>
|
---|
61 |
|
---|
62 | </sect2>
|
---|
63 |
|
---|
64 | </sect1>
|
---|