From bd7538b84054408fe146f79b8077f574a106d41a Mon Sep 17 00:00:00 2001 From: Jeremy Utley Date: Wed, 22 Sep 2004 04:50:54 +0000 Subject: Upgraded util-linux, udev, and hotplug to latest versions git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4185 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter05/udev.xml | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) (limited to 'chapter05') diff --git a/chapter05/udev.xml b/chapter05/udev.xml index c79001a59..4f6ef8dcf 100644 --- a/chapter05/udev.xml +++ b/chapter05/udev.xml @@ -29,25 +29,17 @@ Installation of Udev -The udevstart program hardcodes the path -to the udev program in itself, which is bad since we -install udev in a non-standard location. Fix this by -running the following: +Patch Udev to allow for udev.conf to be found in $PREFIX/etc: -sed -i 's@/sbin/udev@/tools/sbin/udev@g' udevstart.c - -Also assure that udev knows the correct location to look for its -configuration files: - -sed -i 's@/etc@/tools/etc@g' etc/udev/udev.conf.in +patch -Np1 -i ../udev-&udev-version;-etcdir-2.patch Now compile Udev: -make prefix=/tools etcdir=/tools/etc +make prefix=/tools udevdir=/dev Install it: -make DESTDIR=/tools udevdir=/dev install +make prefix=/tools install Udev's configuration is far from ideal by default, so we install our own configuration files here: -- cgit v1.2.3-54-g00ecf