Gentoo Archives: gentoo-portage-dev

From: Ned Ludd <solar@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] Making pax-utils a depend
Date: Sun, 20 Nov 2005 03:40:38
Message-Id: 1132457969.15007.2.camel@localhost
In Reply to: Re: [gentoo-portage-dev] Making pax-utils a depend by Brian Harring
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

Replies

Subject Author
Re: [gentoo-portage-dev] Making pax-utils a depend Brian Harring <ferringb@g.o>