7.8. Eudev-1.7

The Eudev package contains programs for dynamic creation of device nodes.

7.8.1. Installation of Eudev

Prepare Eudev for compilation:

./configure --prefix=/tools --build=${CLFS_HOST} --host=${CLFS_TARGET} \
    --disable-introspection --disable-gtk-doc-html \
    --disable-gudev --disable-keymap --with-firmware-path=/tools/lib/firmware \
    --enable-libkmod

The meaning of the new configure options:

--disable-introspection --disable-gtk-doc-html --disable-gudev --disable-keymap

These switches disable several features which are not needed for the temporary system and have additional dependencies.

--with-firmware-path=/tools/lib/firmware

This allows Eudev to load firmware from /tools/lib/firmware instead of the default location of /lib/firmware.

--enable-libkmod

Allows Eudev to load modules by using libkmod directly.

Compile the package:

make

Install the package:

make install

Create a directory for storing firmware that can be loaded by udev:

install -dv /tools/lib/firmware

Create a dummy rule so that Eudev will name ethernet devices properly for the system.

echo "# dummy, so that network is once again on eth*" > \
    /tools/etc/udev/rules.d/80-net-name-slot.rules

Details on this package are located in Section 10.63.2, “Contents of Eudev.”