source: BOOK/boot/common/eudev.xml @ 9597c5a

clfs-3.0.0-sysvinitsysvinit
Last change on this file since 9597c5a was 9597c5a, checked in by Chris Staub <chris@…>, 10 years ago

Replaced PKG_CONFIG vars with pkg-config-lite installed in /cross-tools

Conflicts:

BOOK/introduction/common/changelog.xml

  • Property mode set to 100644
File size: 1.8 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  </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>./configure --prefix=/tools --build=${CLFS_HOST} --host=${CLFS_TARGET} \
31    --disable-introspection --disable-gtk-doc-html \
32    --disable-gudev --disable-keymap --with-firmware-path=/lib/firmware \
33    --enable-libkmod</userinput></screen>
34
35    <para os="c">Compile the package:</para>
36
37<screen os="d"><userinput>make</userinput></screen>
38
39    <para os="g">Install the package:</para>
40
41<screen os="j"><userinput>make install</userinput></screen>
42
43    <para os="i">Create a directory for storing firmware that can be
44    loaded by <command>udev</command>:</para>
45
46<screen os="k"><userinput>install -dv /tools/lib/firmware</userinput></screen>
47
48    <para os="r1">Create a dummy rule so that Eudev will name ethernet devices properly for the system.</para>
49
50<screen os="r2"><userinput>echo "# dummy, so that network is once again on eth*" > \
51    /tools/etc/udev/rules.d/80-net-name-slot.rules</userinput></screen>
52
53 </sect2>
54
55  <sect2 role="content">
56    <title/>
57
58    <para>Details on this package are located in <xref
59    linkend="contents-eudev" role="."/></para>
60
61  </sect2>
62
63</sect1>
Note: See TracBrowser for help on using the repository browser.