[arch-dev-public] [idea] global link database for all packages
aaronmgriffin at gmail.com
Mon Jun 29 11:54:39 EDT 2009
On Sun, Jun 28, 2009 at 11:13 AM, Pierre Schmitz<pierre at archlinux.de> wrote:
> On Wednesday 24 June 2009 23:00:02 Daenyth Blank wrote:
>> On Wed, Jun 24, 2009 at 15:36, Pierre Schmitz<pierre at archlinux.de> wrote:
>> > * check if a file is an elf file
>> > * extract the header
>> > * move to next file
>> I think `file` and `readelf` would help.
> file is several times slower than readelf. But I have found some other
> * Only extract files from /opt /lib /sbin /bin /usr/lib /usr/sbin /usr/bin
> * run the script for both arches in parallel
> * treat links to libs and executables as files (this way we can check for
> exact so names)
> * The script uses results from previous runs and as a result should be fast
> enough to be run on gerolde (I can provide an inital data set)
> The resultsing db files are quite small: 20 KB for core and 320 KB for extra.
> So, what do you think about adding this to our cron jobs? We could run it on a
> daily base and update the db files.
> It should be easy to write clients which check for possible rebuild candidates
> and do all kinds of integrity checks.
Part of me feels like we should adopt Gerardo's script for this
purpose, as it seems a little more robust. Would you have a problem
More information about the arch-dev-public