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/lib64 -lblkid" \
KMOD_CFLAGS="-I/tools/include/" KMOD_LIBS="-L/tools/lib64 -lkmod" \
CC="${CC} ${BUILD64}" LDFLAGS="-Wl,-rpath,/tools/lib64:/lib64" \
    ./configure --prefix=/usr --build=${CLFS_HOST} \
    --host=${CLFS_TARGET} --with-rootprefix='' --enable-split-usr \
    --sysconfdir=/etc --libexecdir=/lib64 --bindir=/sbin --sbindir=/sbin \
    --libdir=/usr/lib64 --with-rootlibdir=/lib64 --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 DESTDIR=${CLFS} 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*" \
> ${CLFS}/etc/udev/rules.d/80-net-name-slot.rules

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