From 1a96a4ed261bf8bc2b2ccc895131e93a6ca2f84a Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Sat, 29 Nov 2014 20:21:24 +0000 Subject: Reformat eudev to support jhalfs git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10800 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/creatingdirs.xml | 2 +- chapter06/eudev.xml | 39 +++++++++++++++++++++++++++++++-------- 2 files changed, 32 insertions(+), 9 deletions(-) (limited to 'chapter06') diff --git a/chapter06/creatingdirs.xml b/chapter06/creatingdirs.xml index 2f5da5920..5572a62cc 100644 --- a/chapter06/creatingdirs.xml +++ b/chapter06/creatingdirs.xml @@ -13,7 +13,7 @@ It is time to create some structure in the LFS file system. Create a standard directory tree by issuing the following commands: -mkdir -pv /{bin,boot,etc/{opt,sysconfig},home,lib,mnt,opt} +mkdir -pv /{bin,boot,etc/{opt,sysconfig},home,lib/firmware,mnt,opt} mkdir -pv /{media/{floppy,cdrom},sbin,srv,var} install -dv -m 0750 /root install -dv -m 1777 /tmp /var/tmp diff --git a/chapter06/eudev.xml b/chapter06/eudev.xml index f66c669de..129d99d94 100644 --- a/chapter06/eudev.xml +++ b/chapter06/eudev.xml @@ -72,21 +72,18 @@ BLKID_LIBS='-L/tools/lib -lblkid' \ Create some directories now that are needed for tests, but will also be used as a part of installation: -mkdir -pv /lib/{firmware,udev} -mkdir -pv /lib/udev/rules.d +mkdir -pv /lib/udev/rules.d mkdir -pv /etc/udev/rules.d -To test the results, run issue: +To test the results, issue: make check - Install the package and create the initial - /etc/udev/hwdb.bin file: + Install the package: -make install -udevadm hwdb --update +make install -Now, install the man pages: + Now, install the man pages: tar -xvf ../eudev-&eudev-version;-manpages.tar.bz2 -C /usr/share @@ -98,6 +95,32 @@ make -f &udev-lfs-version;/Makefile.lfs install + + Configuring Eudev + + + Eudev + configuring + + + + /etc/udev/hwdb.bin + + + Information about hardware devices is maintained in the + /etc/udev/hwdb.d and + /usr/lib/udev/hwdb.d directories. + Eudev needs that information to be compiled + into a binary database /etc/udev/hwdb.bin. Create the + initial database: + +udevadm hwdb --update + + This command needs to be run each time the hardware information is + updated. + + + Contents of Eudev -- cgit v1.2.3-54-g00ecf