ICA: circular dependency between eudev and util-linux
|Reported by:||Bruce Dubbs||Owned by:||lfs-book|
util-linux uses libudev (eudev) in lsblk (with fallback to libblkid from util-linux if libudev has not been linked). And udev uses libblkid to find information about some block devices (specialy cdrom_id, ata_id, etc). Note that this is well known and cured in systemd book.
Solution Build util-linux in chapter 5 for sysv book, as for the systemd book (just remove revision='systemd' ), move eudev before util-linux in chapter 6, and link /tools/lib/pkgconfig/blkid.pc to /usr/lib/pkgconfig before building eudev. Also use LD_LIBRARY_PATH=/tools/lib when running udevadm hwdb --update.
Possible side effect None found yet, except it adds one build in chapter 5.
Question What is the improvement? lsblk gives more detailed information if built against libudev, depending on hardware.