#4624: Defects found through ICA
-----------------------------+------------------------------
 Reporter:  pierre.labastie  |       Owner:  pierre.labastie
     Type:  enhancement      |      Status:  assigned
 Priority:  normal           |   Milestone:  9.2
Component:  Book             |     Version:  SVN
 Severity:  normal           |  Resolution:
 Keywords:                   |
-----------------------------+------------------------------

Comment (by pierre.labastie):

 '''circular dependency between eudev and util-linux'''

 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 n hardware.

--
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/4624#comment:8>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to