From 18da154b58d7b8f24bb15846b2d96ec4dbab0fc1 Mon Sep 17 00:00:00 2001 From: Zack Winkles Date: Tue, 15 Jun 2004 19:28:46 +0000 Subject: Dropped the Udev patch in favor of separate configuration files Properly recreate /etc/hotplug.d/default/udev.hotplug git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3796 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter05/udev.xml | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) (limited to 'chapter05/udev.xml') diff --git a/chapter05/udev.xml b/chapter05/udev.xml index c532cc8e2..1d24b4a45 100644 --- a/chapter05/udev.xml +++ b/chapter05/udev.xml @@ -31,13 +31,6 @@ Installation of Udev -By default, the permissions udev assigns to nodes are all uniform, -being owned by user root, group root, and only accessible to root. As you -can easily imagine, this isn't ideal. Give it a much better configuration -by applying the following patch: - -patch -Np1 -i ../udev-&udev-version;-config-1.patch - 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: @@ -53,13 +46,15 @@ configuration files: make prefix=/tools etcdir=/tools/etc -Generate Udev's main configuration file: +Install it: -make udevdir=/dev etc/udev/udev.conf +make DESTDIR=/tools udevdir=/dev install -Finally, install it: +Udev's configuration is far from ideal by default, so we install our own +configuration files here: -make DESTDIR=/tools install +cp ../udev-config-1.permissions /tools/etc/udev/permissions.d/00-lfs.permissions +cp ../udev-config-1.rules /tools/etc/udev/rules.d/00-lfs.rules -- cgit v1.2.3-54-g00ecf