Gentoo Archives: gentoo-portage-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] rewriting the ldconfig logic
Date: Sat, 01 Apr 2006 22:17:44
Message-Id: 442EFBF1.5070207@gentoo.org
In Reply to: [gentoo-portage-dev] rewriting the ldconfig logic by Mike Frysinger
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Mike Frysinger wrote:
5 > i thought about this some more ... why do we even care about the mtimes during
6 > package merge ? if a package doesnt install any files into a libdir, why
7 > should we bother running ldconfig ? if a user updated the dirs, then they
8 > can either run ldconfig or env-update ...
9 >
10 > so imo, the logic should be:
11 > if srcroot is None:
12 > <mtime checks>
13 > else:
14 > <libdir existence checks>
15 > -mike
16
17 Yeah, I think that's correct. Also, even though we don't need to check the mtimes when srcroot is defined, we can still update the mtimes in the mtimedb to the current values in order to avoid an unnecessary ldconfig run on the next env_update call.
18
19 Zac
20 -----BEGIN PGP SIGNATURE-----
21 Version: GnuPG v1.4.2.2 (GNU/Linux)
22
23 iD8DBQFELvvv/ejvha5XGaMRAkfeAKDap/igAIOgLo/8jgPz0gTB3q/D6ACfXvcJ
24 jJJBUpH8SttC3VY0WmWSyjE=
25 =iYDT
26 -----END PGP SIGNATURE-----
27 --
28 gentoo-portage-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-portage-dev] rewriting the ldconfig logic Mike Frysinger <vapier@g.o>