source: BOOK/boot/common/eudev.xml@ 7ddb05f

sysvinit
Last change on this file since 7ddb05f 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
RevLine 
[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>
[3bffddc0]15 <secondary>boot</secondary>
[3f8be484]16 </indexterm>
17
[dafa360]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>
[3f8be484]25
26 <sect2 role="installation">
[b0307ef]27 <title>Installation of Eudev</title>
[3f8be484]28
[dafa360]29 <para os="a">Prepare Eudev for compilation:</para>
[3f8be484]30
[b27081c4]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 \
[cc056b6]40 --enable-libkmod</userinput></screen>
[1da2a84]41
[1380a69]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
[dafa360]73 <para os="c">Compile the package:</para>
[1da2a84]74
[dafa360]75<screen os="d"><userinput>make</userinput></screen>
[3f8be484]76
[dafa360]77 <para os="g">Install the package:</para>
[3f8be484]78
[90e8c97]79<screen os="j"><userinput>make install</userinput></screen>
[3f8be484]80
[dafa360]81 <para os="i">Create a directory for storing firmware that can be
82 loaded by <command>udev</command>:</para>
[ef09b2e]83
[d2ecc65]84<screen os="k"><userinput>install -dv /tools/lib/firmware</userinput></screen>
[ef09b2e]85
[dafa360]86 <para os="r1">Create a dummy rule so that Eudev will name ethernet devices properly for the system.</para>
[dcbb278]87
[d3a81ee]88<screen os="r2"><userinput>echo "# dummy, so that network is once again on eth*" &gt; \
[056e32f4]89 /tools/etc/udev/rules.d/80-net-name-slot.rules</userinput></screen>
[dcbb278]90
[679a675]91 </sect2>
[3f8be484]92
[82fc053]93 <sect2 role="content">
94 <title/>
[3f8be484]95
[82fc053]96 <para>Details on this package are located in <xref
97 linkend="contents-eudev" role="."/></para>
[3f8be484]98
[dafa360]99 </sect2>
[3f8be484]100
101</sect1>
Note: See TracBrowser for help on using the repository browser.