[Bug 900] udev-032

bugzilla at linuxfromscratch.org bugzilla at linuxfromscratch.org
Thu Sep 16 11:04:57 PDT 2004


http://bugs.linuxfromscratch.org/show_bug.cgi?id=900





------- Additional Comments From kpfleming at linuxfromscratch.org  2004-09-16 12:04 -------
OK, here are my comments:

The "bad links" patch is not necessary, if the udev build instructions are
properly modified.

I did this:

unpack udev-032
make prefix=/tools
make prefix=/tools install

After this, there were two problems that needed to be addressed:

- the "/etc/udev" paths in /tools/etc/udev/udev.conf
- the "/udev" paths in /tools/etc/udev/udev.conf

Everything else was fine. Yes, the symlink from udevstart to udev is absolute,
but that is not a problem for LFS.

I have uploaded a replacement patch to correct the udev.conf file, which uses
configdir instead of DESTDIR, since the Makefile already computes the proper
configdir when prefix=/tools is used.

Here are my suggested replacement chapter 5 build instructions:

patch -p1 -i udev-032-etcdir-1.patch
make prefix=/tools udevdir=/dev
make prefix=/tools udevdir=/dev install
cp ../udev-config-2.permissions /tools/etc/udev/permissions.d/00-lfs.permissions
cp ../udev-config-1.rules /tools/etc/udev/rules.d/00-lfs.rules

No changes are needed in chapter 6.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.



More information about the lfs-book mailing list