7.9. Eudev-1.3

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

7.9.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" \
LDFLAGS="-Wl,-rpath,/tools/lib:/lib" ./configure --prefix=/usr \
    --build=${CLFS_HOST} --host=${CLFS_TARGET} \
    --with-rootprefix='' --enable-split-usr --sysconfdir=/etc \
    --libexecdir=/lib --bindir=/sbin --sbindir=/sbin --libdir=/usr/lib \
    --with-rootlibdir=/lib --disable-introspection --disable-gtk-doc-html \
    --disable-gudev --disable-keymap --with-firmware-path=/lib/firmware \

Compile the package:


Install the package:

make DESTDIR=${CLFS} install

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

install -dv ${CLFS}/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*" \
> ${CLFS}/etc/udev/rules.d/80-net-name-slot.rules

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