diff --git a/appendices/udev-rules.xml b/appendices/udev-rules.xml index abb7f8846..2b9489bb7 100644 --- a/appendices/udev-rules.xml +++ b/appendices/udev-rules.xml @@ -8,13 +8,13 @@ - + Udev configuration rules - The rules from &udev-lfs;.tar.bz2 in this appendix are listed for + The rules from in this appendix are listed for convenience. Installation is normally done via instructions in . + linkend='ch-system-eudev'/>. 55-lfs.rules diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 54fd05d2d..e8a81ad44 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -35,6 +35,18 @@ --> + + + 2014-03-03 + + + [bdubbs] - Remove udev from systemd and + replace with eudev. Addresses + #3504. + + + + 2014-03-03 diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml index d1c49a003..779f7b39d 100644 --- a/chapter01/whatsnew.xml +++ b/chapter01/whatsnew.xml @@ -226,9 +226,12 @@ Added: - + + eudev-1.5.1 + + + eudev-1.5.1-manpages + @@ -243,6 +246,10 @@ readline-6.2-fixes-2.patch + + udev 208 + + diff --git a/chapter03/packages.xml b/chapter03/packages.xml index dd4d999c3..35f1ebbea 100644 --- a/chapter03/packages.xml +++ b/chapter03/packages.xml @@ -131,6 +131,23 @@ + + Eudev (&eudev-version;) - &eudev-size;: + + Home page: + Download: + MD5 sum: &eudev-md5; + + + + + Eudev Manpages (&eudev-version;) - &eudev-manpages-size;: + + Download: + MD5 sum: &eudev-manpages-md5; + + + File (&file-version;) - &file-size;: diff --git a/chapter06/chapter06.xml b/chapter06/chapter06.xml index 7fe9d5ee7..3c2949978 100644 --- a/chapter06/chapter06.xml +++ b/chapter06/chapter06.xml @@ -70,7 +70,8 @@ - + + diff --git a/chapter06/eudev.xml b/chapter06/eudev.xml new file mode 100644 index 000000000..2715119e2 --- /dev/null +++ b/chapter06/eudev.xml @@ -0,0 +1,213 @@ + + + %general-entities; +]> + + + + + + eudev + &eudev-version; +
&eudev-url;
+
+ + Eudev-&eudev-version; + + + Eudev + + + + + + <para>The Eudev package contains programs for dynamic creation of device + nodes.</para> + + <segmentedlist> + <segtitle>&buildtime;</segtitle> + <segtitle>&diskspace;</segtitle> + + <seglistitem> + <seg>&eudev-ch6-sbu;</seg> + <seg>&eudev-ch6-du;</seg> + </seglistitem> + </segmentedlist> + </sect2> + + <sect2 role="installation"> + <title>Installation of Eudev + + First, clean up a few warnings and fix a test script: + +sed -i '/struct ucred/i struct ucred;' src/libudev/util.h +sed -r -i 's|/usr(/bin/test)|\1|' test/udev-test.pl + +Prepare Eudev for compilation: + +./configure --prefix=/usr \ + --bindir=/sbin \ + --sbindir=/sbin \ + --libdir=/usr/lib \ + --sysconfdir=/etc \ + --libexecdir=/lib \ + --with-rootprefix= \ + --with-rootlibdir=/lib \ + --enable-split-usr \ + --enable-libkmod \ + --enable-rule_generator \ + --disable-introspection \ + --disable-keymap \ + --disable-gudev \ + --disable-gtk-doc-html \ + --with-firmware-path=/lib/firmware + +Compile the package: + +make + +Create some directories now that are needed for tests, but +will also be used as a part of installation: + +mkdir -pv /lib/{firmware,udev/devices/pts} +mkdir -pv /lib/firmware +mkdir -pv /lib/udev/rules.d +mkdir -pv /etc/udev/rules.d + +To test the results, run issue: + +make check + + Install the package: + +make install + +Finally, install the man pages: + +tar -xvf ../eudev-1.5.1-manpages.tar.bz2 -C /usr/share + + + + + Contents of Eudev + + + Installed programs + Installed libraries + Installed directories + + + udevadm and udevd + + libudev.so + + /etc/udev, /lib/udev, and /lib/firmware + + + + + Short Descriptions + + + + + udevadm + + Generic udev administration tool: controls the udevd daemon, + provides info from the Udev database, monitors uevents, waits for + uevents to finish, tests Udev configuration, and triggers uevents + for a given device + + udevadm + + + + + + udevd + + A daemon that listens for uevents on the netlink socket, + creates devices and runs the configured external programs in + response to these uevents + + udevd + + + + + + libudev + + A library interface to udev device information + + libudev + + + + + + /etc/udev + + Contains Udev configuration files, + device permissions, and rules for device naming + + /etc/udev + + + + + + + + +
diff --git a/general.ent b/general.ent index 4ebae36eb..2e73e70d1 100644 --- a/general.ent +++ b/general.ent @@ -1,5 +1,5 @@ - - + + diff --git a/packages.ent b/packages.ent index 72baedc79..02484290c 100644 --- a/packages.ent +++ b/packages.ent @@ -132,6 +132,18 @@ + + + + + + + + + + + +