Gentoo Archives: gentoo-portage-dev

From: Mike Frysinger <vapier@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] rewriting the ldconfig logic
Date: Sat, 01 Apr 2006 22:23:14
Message-Id: 200604011723.17611.vapier@gentoo.org
In Reply to: Re: [gentoo-portage-dev] rewriting the ldconfig logic by Zac Medico
1 On Saturday 01 April 2006 17:17, Zac Medico wrote:
2 > Mike Frysinger wrote:
3 > > i thought about this some more ... why do we even care about the mtimes
4 > > during package merge ? if a package doesnt install any files into a
5 > > libdir, why should we bother running ldconfig ? if a user updated the
6 > > dirs, then they can either run ldconfig or env-update ...
7 > >
8 > > so imo, the logic should be:
9 > > if srcroot is None:
10 > > <mtime checks>
11 > > else:
12 > > <libdir existence checks>
13 >
14 > Yeah, I think that's correct. Also, even though we don't need to check the
15 > mtimes when srcroot is defined, we can still update the mtimes in the
16 > mtimedb to the current values in order to avoid an unnecessary ldconfig run
17 > on the next env_update call.
18
19 feel like implementing this ? that way we dont stop on each others feet again
20 and i dont have to waste time when you rewrite my work ;)
21 -mike
22 --
23 gentoo-portage-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-portage-dev] rewriting the ldconfig logic Zac Medico <zmedico@g.o>