Gentoo Archives: gentoo-user

From: "Bo Ørsted Andresen" <bo.andresen@××××.dk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: anti-portage wreckage?
Date: Wed, 03 Jan 2007 13:57:17
Message-Id: 200701031452.37485.bo.andresen@zlin.dk
In Reply to: Re: [gentoo-user] Re: anti-portage wreckage? by William Kenworthy
1 On Tuesday 02 January 2007 14:26, William Kenworthy wrote:
2 > > > rattus ~ # emerge system -ep
3 > > >
4 > > > These are the packages that would be merged, in order:
5 > > >
6 > > > Calculating system dependencies ... done!
7 > > > rattus ~ #
8 > > >
9 > > > 3 systems like this, one installed only a few months ago works.
10 > >
11 > > And `emerge --info` ?
12
13 There's probably a better way to do this but this should output what
14 constitutes your system packages. It should be 61 lines on your profile.
15
16 # cd /etc && cd $(readlink /etc/make.profile) && \
17 while [[ true ]]; do
18 if [[ -f packages ]]; then
19 egrep -v "^$|^#" packages;
20 fi
21 if [[ -f parent ]]; then
22 cd $(cat parent);
23 else
24 break;
25 fi;
26 done
27
28 --
29 Bo Andresen