Bruce Dubbs wrote: > Bruce Dubbs wrote: >> Ken Moffat wrote: >> >>> You seem to be making good progress here. >> >> Try the attached patch. >> >> tar -xf systemd-183.tar.xz >> cd systemd-183 >> patch -Np1 -i ../systemd-lfs.patch >> sh make.sh >> sh install.sh > install.log >> >> It ran with only one minor warning (easily fixed) in install.sh from >> the lfs chapter 6 environment. > > I've added rules from udev-182 and their supporting functions to the > patch. The install warning is fixed too. > > The new patch can be downloaded from > http://www.linuxfromscratch.org/~bdubbs/systemd-udev/
I rebooted and udev from systemd seems to work with the patch. I updated the patch (same location, timestamp 29-May-2012 22:28) because I forgot to create /lib/udev/devices/{null,pts}. The latest patch now has that, but the mountvirtfs boot script needs to be updated. Otherwise I think the patch is good. If someone (Matt?) can test and confirm that it works, I'll put it in the book. -- Bruce Index: bootscripts/lfs/init.d/mountvirtfs =================================================================== --- bootscripts/lfs/init.d/mountvirtfs (revision 9861) +++ bootscripts/lfs/init.d/mountvirtfs (working copy) @@ -55,9 +55,8 @@ ln -s /run/shm /dev/shm - # Copy the only static device node that Udev >= 155 doesn't - # handle to /dev - cp -a /lib/udev/devices/null /dev + # Copy devices that Udev >= 155 doesn't handle to /dev + cp -a /lib/udev/devices/* /dev -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page