Took me a little longer than I expected to get back to this, and I've no idea if the patch is going anywhere, but it does work. This is, I think, the second version of the patch posted to linux-hotplug.
Tested with systemd-185, I've successfully built xorg-7.7-rc using my existing scripts, so I feel confident that everything using libudev will build. I extracted the rule_generator directory from udev-182. I think my next step will be to incorporate that into the LFS udev-config tarball, so that running 'make install{,-doc}' there will do the right thing. After applying the patch, run autoreconf. Then the seds for the manpages: sed -i -e "s,systemd.*-,,gi" man/*udev*.{7,8} (I see no benefit in changing the xml or the html) I configured with: ./configure --prefix=/usr --with-rootprefix='' --bindir=/sbin \ --libexecdir=/lib --libdir=/usr/lib \ --sysconfdir=/etc --docdir=/usr/share/doc/udev-185 \ --disable-gudev --disable-introspection \ --disable-keymap --disable-logind --disable-systemd \ --with-usb-ids-path=no --with-pci-ids-path=no This use of /usr/lib makes sense for me, but I haven't yet attended to moving the libs to /lib, so accelerometer and cdrom_id will not work until /usr has been mounted. For those with an accelerometer that is an error. Not sure if cdrom_id matters. make as normal for make check, as Bryan noted make SUBDIRS=. make install as normal There is no empty /usr/share/doc/udev directory to remove. After installing udev-config add the things removed upstream - this is the part I intend to add to udev-config: install -v -m755 rule_generator/75* /lib/udev/rules.d whoops! that should be m644 install -v -m644 rule_generator/rule_generator.functions /lib/udev install -v -m755 rule_generator/write* /lib/udev Following that, some "packaging fixes". Udevd is now at /lib/systemd - arguably, since we will need to update the bootscript for current udev, we could keep it there and not rename the manpages, nor sed them. But for now: rm -rf /etc/systemd mv -v /lib/systemd/systemd-udevd /lib/udev/udevd mv -v /usr/share/man/man8/{systemd-,}udevd.8 rmdir /lib/systemd For the udev bootscript, I've got the following crude hack in place which is adequate for my needs (note that /dev/null is ok, perhaps because of devtmpfs. it's only /dev/pts from the base LFS config that didn't get installed) : # Start the udev daemon to continually watch for, and act on, # uevents /lib/udev/udevd --daemon # crude fix for udev > 182 mkdir -p /dev/pts # Now traverse /sys in order to "coldplug" devices that have By the time this is all ready for the book, I'm sure Bruce and/or Bryan will have fixed the bootscripts better than I can. I'll attach the listing of what files got installed. ĸen -- das eine Mal als Tragödie, das andere Mal als Farce -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page