source: BOOK/boot/common/eudev.xml@ 3386453

sysvinit
Last change on this file since 3386453 was b27081c4, checked in by Chris Staub <chris@…>, 9 years ago

Put one configure option per line

  • 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 \
32 --prefix=/tools \
33 --build=${CLFS_HOST} \
34 --host=${CLFS_TARGET} \
35 --disable-introspection \
36 --disable-gtk-doc-html \
37 --disable-gudev \
38 --disable-keymap \
39 --with-firmware-path=/tools/lib/firmware \
40 --enable-libkmod</userinput></screen>
41
42 <variablelist os="b1">
43 <title>The meaning of the new configure options:</title>
44
45 <varlistentry>
46 <term><parameter>--disable-introspection --disable-gtk-doc-html
47 --disable-gudev --disable-keymap</parameter></term>
48 <listitem>
49 <para>These switches disable several features which are not needed
50 for the temporary system and have additional dependencies.</para>
51 </listitem>
52 </varlistentry>
53
54 <varlistentry>
55 <term><parameter>--with-firmware-path=/tools/lib/firmware</parameter></term>
56 <listitem>
57 <para>This allows Eudev to load firmware from
58 <filename class="directory">/tools/lib/firmware</filename> instead of
59 the default location of <filename class="directory">/lib/firmware</filename>.</para>
60 </listitem>
61 </varlistentry>
62
63 <varlistentry>
64 <term><parameter>--enable-libkmod</parameter></term>
65 <listitem>
66 <para>Allows Eudev to load modules by using
67 <filename class="libraryfile">libkmod</filename> directly.</para>
68 </listitem>
69 </varlistentry>
70
71 </variablelist>
72
73 <para os="c">Compile the package:</para>
74
75<screen os="d"><userinput>make</userinput></screen>
76
77 <para os="g">Install the package:</para>
78
79<screen os="j"><userinput>make install</userinput></screen>
80
81 <para os="i">Create a directory for storing firmware that can be
82 loaded by <command>udev</command>:</para>
83
84<screen os="k"><userinput>install -dv /tools/lib/firmware</userinput></screen>
85
86 <para os="r1">Create a dummy rule so that Eudev will name ethernet devices properly for the system.</para>
87
88<screen os="r2"><userinput>echo "# dummy, so that network is once again on eth*" &gt; \
89 /tools/etc/udev/rules.d/80-net-name-slot.rules</userinput></screen>
90
91 </sect2>
92
93 <sect2 role="content">
94 <title/>
95
96 <para>Details on this package are located in <xref
97 linkend="contents-eudev" role="."/></para>
98
99 </sect2>
100
101</sect1>
Note: See TracBrowser for help on using the repository browser.