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

Bruce Dubbs bruce.dubbs at gmail.com
Mon May 28 22:55:36 PDT 2012


I've been able to build udevadm, udevd, and accelerometer in the new 
distribution.  I had to build each file separately and come up with the 
link scripts, but none of the spurious packages are needed.  I'll check 
the other libexec programs tomorrow.

Optimally we need to get upstream to split their libraries so that the 
files that don't need all the extra packages are in a separate 
directory.  These are the files needed:

src/libudev/libudev-list.o
src/libudev/libudev-queue-private.o
src/libudev/libudev-util.o
src/libudev/libudev-monitor.o
src/libudev/libudev.o
src/libudev/libudev-device.o
src/libudev/libudev-device-private.o
src/libudev/libudev-queue.o
src/libudev/libudev-enumerate.o

src/shared/util.o
src/shared/log.o
src/shared/dev-setup.o
src/shared/label.o
src/shared/cgroup-util.o
src/shared/strv.o
src/shared/path-util.o
src/shared/hashmap.o
src/shared/set.o
src/shared/conf-files.o
src/shared/exit-status.o
src/shared/mkdir.o

src/login/sd-login.o
src/libsystemd-daemon/sd-daemon.o

The script I built to compile and link the programs is fairly long (and 
ugly to my taste), but also pretty straight forward.  I haven't tested 
the programs yet, but the build is clean.

If we have to, we can create a 'patch' to add the script to the source 
and create the executables with that.  I wouldn't bother trying to 
create libraries for LFS.  I don't know of anything that would want to 
link against them except the current udev files.  Each executable is 
about 200K so the overhead isn't too bad.

   -- Bruce



More information about the lfs-dev mailing list