1 |
On Fri, 2005-11-18 at 10:16 -0600, Brian Harring wrote: |
2 |
[snip] |
3 |
|
4 |
> Still have issues with it- revdep-rebuild for example can't rely on |
5 |
> NEEDED until a repository regen script is written. |
6 |
|
7 |
|
8 |
# How about something like this then? |
9 |
|
10 |
cd ${ROOT}/var/db/pkg || exit 1 |
11 |
|
12 |
for f in *-*/*/CONTENTS ; do |
13 |
NEEDED="${f%/*}/NEEDED" |
14 |
if [[ ! -e $NEEDED ]]; then |
15 |
grep ^obj $f | awk '{print $2}' | scanelf -BF"%F %n" -f - > $NEEDED |
16 |
fi |
17 |
done |
18 |
|
19 |
|
20 |
-- |
21 |
Ned Ludd <solar@g.o> |
22 |
Gentoo Linux |
23 |
|
24 |
-- |
25 |
gentoo-portage-dev@g.o mailing list |