[lfs-dev] [LFS Trac] #3098: udev/systemd 183 is out

Ken Moffat zarniwhoop at ntlworld.com
Wed May 30 09:13:23 PDT 2012

On Tue, May 29, 2012 at 11:24:39PM -0700, Bryan Kadzban wrote:
> seems to generate the right set of binaries and files under
> /tmp/udev-test. Of course we still have to rename
> /lib/udev/systemd-udevd to plain old /lib/udev/udevd. (Or change the
> target in rootlibexecdir, actually. Looks like our bootscripts already
> handle the other path though.)  Don't strictly need the DESTDIR either,
> of course.
 I got the following:
root at ac4tv /home/ken #find /mnt/lfs/tmp/udev-test/ -type f
 Also libudev.so.1 and libudev.so

 Obviously /lib64 because you are on multilib.  We'll use /lib, but
I guess the shared lib needs to be accessible from /usr/lib.

 I'm missing /etc/udev/udev.conf [ probably unnecessary, but is in
src/udev/udev.conf, can be installed by install-dist_udevconfDATA
and creates the directory for 55-lfs.rules ]

 and the two pkgconfig files.

udev.pc can be built and installed by install-sharepkgconfigDATA but
it ought to be fixed to not point to /lib/systemd for udevdir.
Upstream fixed that earlier this week:

diff --git a/src/udev/udev.pc.in b/src/udev/udev.pc.in
index 0b04c02..a0c2e82 100644
--- a/src/udev/udev.pc.in
+++ b/src/udev/udev.pc.in
@@ -2,4 +2,4 @@ Name: udev
Description: udev
Version: @VERSION@

 So we can sed or patch that.

libudev.pc only gets created and installed with a load of
systemd*.pc files, in install-pkgconfiglibDATA.  Among our options
are to sed all the fields in the .pc.in, and to install the
pkgconfiglib pc files and then remove all the others.

 Renaming systemd-udevd will make it visible to the current

 I think elsewhere there was a decision to do without

 Certainly, with this approach there is no obvious reason to use a
staging DESTDIR.  I'm impressed with your grasp of libtool.

 Now, I need to get started on some baking, and later I'll try
Bruce's version, with xorg and my own custom rules, if it gets that
far.  Will come back to this, I've got a backup.

das eine Mal als Tragödie, das andere Mal als Farce

More information about the lfs-dev mailing list