On Tue, 2003-09-09 at 07:44, Dhruba Bandopadhyay wrote:
<snip>
> Thanks.  I simplified that to:
> 
> emerge -Oevp system | grep -c ebuild
> 
> It seems it cannot be done any faster e.g. from a file.

Take a look at /etc/make.profile/packages . From the intro
documentation:

# An initial "*" marks a package that is part of the
# official "base" system profile.  If there's a "*", then "emerge
system" will
# use the line in its calculations of what "should" be installed for
this
# profile.

So a:

grep -c "^*" /etc/make.profile/packages

should do what your looking for.

Good Luck,

Doug

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to