Changed the subject to reflect what is really going on...

On Thu, 2020-04-09 at 11:56 +0200, Pierre Labastie via lfs-dev wrote:
> 
[...]
> Sometimes I wonder why I assume something without checking! It
> happens
> to me too often that it then proves wrong!
> 
> Here it is: I've discovered that findmnt was linked to libudev after
> second pass, and not after thefirst pass. But why have I assumed that
> findmnt was coming from e2fsprog????
> 
> e2fsprog does not even test libudev, and the only reference to udev
> is
> a reference to udev's rules directory needed for e2scrub.
> 
> findmnt is from util-linux, and that one links to libudev if it is
> present. So eudev should be before util-linux, but I have to test
> that
> nothing depends on util-linux in eudev...
> 
> Trying a build with eudev before util-linux ATM.
> 

No joy, eudev depends on libblkid (more exactly, cdrom_id, ata_id,
xxx_id, ...). So this is a circular dependency, and I'd say that having
functional xxx_id is more important than having libudev in findmnt (but
this depends on use cases, I guess).

Anyway, I think I'll try a new build adding util-linux in chap 5, as we
do in systemd book. That might be the best solution.

Pierre

-- 
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to