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} --libdir=/tools/lib64 --with-rootlibdir=/tools/lib64 \
    --disable-introspection --disable-gtk-doc-html --disable-gudev \
    --disable-keymap --with-firmware-path=/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 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.90.2, “Contents of Eudev.”