1 |
On Sunday 20 November 2005 12:46, Brian Harring wrote: |
2 |
> On Sat, Nov 19, 2005 at 10:39:29PM -0500, Ned Ludd wrote: |
3 |
> > On Fri, 2005-11-18 at 10:16 -0600, Brian Harring wrote: |
4 |
> > [snip] |
5 |
> > |
6 |
> > > Still have issues with it- revdep-rebuild for example can't rely on |
7 |
> > > NEEDED until a repository regen script is written. |
8 |
> > |
9 |
> > # How about something like this then? |
10 |
> > |
11 |
> > cd ${ROOT}/var/db/pkg || exit 1 |
12 |
> > |
13 |
> > for f in *-*/*/CONTENTS ; do |
14 |
> > NEEDED="${f%/*}/NEEDED" |
15 |
> > if [[ ! -e $NEEDED ]]; then |
16 |
> > grep ^obj $f | awk '{print $2}' | scanelf -BF"%F %n" -f - > $NEEDED |
17 |
> > fi |
18 |
> > done |
19 |
> |
20 |
> Aside from my inherint dislike of awk, algo is there. |
21 |
> Should be schlopped into emaint though imo; you game, or want someone |
22 |
> to do the python bits? |
23 |
|
24 |
emaint needs the plugin stuff for that to happen, but yeah... |
25 |
|
26 |
-- |
27 |
Jason Stubbs |
28 |
-- |
29 |
gentoo-portage-dev@g.o mailing list |