7.7. Eudev-1.6

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

7.7.1. Installation of Eudev

Prepare Eudev for compilation:

BLKID_CFLAGS="-I/tools/include" BLKID_LIBS="-L/tools/lib -lblkid" \
    KMOD_CFLAGS="-I/tools/include/" KMOD_LIBS="-L/tools/lib -lkmod" \
    ./configure --prefix=/tools --build=${CLFS_HOST} --host=${CLFS_TARGET} \
    --disable-introspection --disable-gtk-doc-html \
    --disable-gudev --disable-keymap --with-firmware-path=/lib/firmware \
    --enable-libkmod

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.62.2, “Contents of Eudev.”