Current Bootchart

Fred Chien fred at openmoko.com
Sun Jul 6 11:10:52 CEST 2008


Agree Werner. updating "ld.so.cache" at package install time is better.
And someone forgot to do it.

if /etc/ld.so.cache doesn't need to be updated, "ldconfig" will ignore
all checking by itself. The point is rootfs maintainer need to remember
to do this job to avoid taking long time at boot time.

We can save it 18 secs right now! :D 

Cheers,
Fred

於 日,2008-07-06 於 10:07 +0200,Sander van Grieken 提到:
> On Sunday 06 July 2008 02:05:28 Werner Almesberger wrote:
> > Fred Chien wrote:
> > > 4. updating dynamic library cache will waste a lot of time (ldconfig)
> > > (18secs)
> >
> > Oh, that one's really silly. The ldconfig ought to be done at package
> > install time, not "just in case someone forgot" at boot time.
> >
> > - Werner
> 
> Maybe that could be made conditional, when mtime of the lib directories is 
> newer than ld.so.cache ?
> 
> grtz,
> Sander
> 




More information about the openmoko-devel mailing list