source: BOOK/boot/common/eudev.xml@ 3d92c8d

sysvinit
Last change on this file since 3d92c8d was 1380a69, checked in by Chris Staub <chris@…>, 10 years ago

Added command explanations for eudev

  • Property mode set to 100644
File size: 3.0 KB
Line 
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 <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
67 <para os="c">Compile the package:</para>
68
69<screen os="d"><userinput>make</userinput></screen>
70
71 <para os="g">Install the package:</para>
72
73<screen os="j"><userinput>make install</userinput></screen>
74
75 <para os="i">Create a directory for storing firmware that can be
76 loaded by <command>udev</command>:</para>
77
78<screen os="k"><userinput>install -dv /tools/lib/firmware</userinput></screen>
79
80 <para os="r1">Create a dummy rule so that Eudev will name ethernet devices properly for the system.</para>
81
82<screen os="r2"><userinput>echo "# dummy, so that network is once again on eth*" &gt; \
83 /tools/etc/udev/rules.d/80-net-name-slot.rules</userinput></screen>
84
85 </sect2>
86
87 <sect2 role="content">
88 <title/>
89
90 <para>Details on this package are located in <xref
91 linkend="contents-eudev" role="."/></para>
92
93 </sect2>
94
95</sect1>
Note: See TracBrowser for help on using the repository browser.