Udev-Installed LFS Version

Introduction to Udev

Udev was indeed installed in LFS and there is no reason to reinstall it unless you are going to install a package such as UPower. This installation of Udev enables extra features which includes gudev, a requirement for UPower and optionally used by other packages.

Unlike any other package in the BLFS book, there is no set version of Udev specified to download. Several version updates to LFS and none to BLFS means there are probably many different versions of Udev on the platforms that BLFS is being built upon. Therefore, you should download and use the version of Udev your computer currently uses. The BLFS team has no experience updating (or reverting to an older version) the Udev package “on the fly.” To discover the version of Udev your computer currently uses, issue /sbin/udevadm --version.

This package is known to build and work properly using an LFS-6.5 platform. (Using Udev-151)

This package is known to build and work properly using an LFS-SVN-20101029 platform. (Using Udev-164)

Package Information

Udev Dependencies

Required

acl-2.2.51, GLib-2.30.1, Gperf-3.0.4, PCI Utilities-3.1.8, and usbutils-004

Optional

gobject-introspection-1.30.0

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/udev

Installation of Udev

Install Udev by running the following commands:

./configure --prefix=/usr          \
            --sysconfdir=/etc      \
            --sbindir=/sbin        \
            --with-rootlibdir=/lib \
            --libexecdir=/lib/udev \
            --docdir=/usr/share/doc/udev-Installed LFS Version &&
make

To test the results, issue: make check.

Now, as the root user:

make install

Command Explanations

--enable-gtk-doc: Use this parameter if GTK-Doc is installed and you wish to rebuild and install the API documentation.

--enable-introspection: This option enables GObject introspection.

Contents

A list of the installed files, along with their short descriptions can be found at ../../../../lfs/view/development/chapter06/udev.html#contents-udev.

The following is some additional content information.

Installed Programs: findkeyboards, firmware, hid2hci, input_id, keyboard-force-release.sh, keymap, modem-modeswitch, pci-db, udev-acl, usb-db, and v4l_id
Installed Library: libgudev-1.0.so
Installed Directories: /lib/udev/keymaps/force-release, /usr/{include/gudev-1.0/gudev,share/{doc/udev-Installed LFS Version, gtk-doc/html/gudev}}

Short Descriptions

hid2hci

is a Bluetooth HID to HCI mode switching utility.

keymap

configures computer model specific key mappings.

libgudev-1.0.so

is a GObject-based wrapper library for libudev.

Last updated on 2011-01-13 23:21:34 +0000