# Note: depends on kmod # Note: depends on usbutils # Note: depends on pciutils # Note: depends on gperf # Note: depends on pkg-config # Note: depends on libusb # Note: depends on glib wget -c http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev-182.tar.xz tar -xJf udev-182.tar.xz cd udev-182 sed -i -e '/udevd_LDADD = /{s/.*/& -lrt/;}' Makefile.in echo udev_run=/var/run/udev >> src/udev.conf sed -i -e '1i#include <stdint.h>' src/mtd_probe/mtd_probe.h sed -i -e 's|linux/input\.h|linux/input-event-codes.h|' Makefile.in mkdir -p build cd build ../configure --prefix="/usr" --sysconfdir="/etc" || ../configure --prefix="/usr" --sysconfdir="/etc" --disable-introspection make # Doesn't mind -j# make install # Create groups used by udev groupadd -f audio groupadd -f cdrom groupadd -f dialout groupadd -f disk groupadd -f floppy groupadd -f kmem groupadd -f lp groupadd -f tape groupadd -f tty groupadd -f video # Make udev start on boot (with the default init system) echo '/usr/libexec/udev/udevd --daemon' >> /etc/initservices.sh echo 'udevadm trigger' >> /etc/initservices.sh