On Thu, 19 Feb 2015 22:56:20 +0000 (UTC), James wrote:

> Neil Bothwick <neil <at> digimed.co.uk> writes:

> > > So for a given eclass, how to I find the list of all ebuilds 
> > Well, brute force works
> 
> > grep -Er 'inherit.*systemd' /var/portage
> 
> '/usr/portage/' works for me, when bruting.

Yes, I'd forgot to adjust for my moving the portage tree to a more
logical location :)
 
> > That shows every ebuild, you may want to reduce it to a list of
> > packages
> 
> > for i in $(grep -Erl 'inherit.*systemd' /var/portage)
> > do
> >     dirname $i
> > done | sort -u
> 
> 
> Yea, sure, cool.  (THANKS). However, I was looking for (wink wink nudge
> nudge) something sexy, using VDB (/var/db/pkg/)

That only shows installed packages. If you want something a little more
portagey, you could use qgrep.


-- 
Neil Bothwick

Disinformation is not as good as datinformation.

Attachment: pgpFekx6c1Xj7.pgp
Description: OpenPGP digital signature

Reply via email to