Gentoo Archives: gentoo-amd64

From: Alex Schuster <wonko@×××××××××.org>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] emerge system set list
Date: Mon, 04 Jun 2012 15:04:17
Message-Id: 20120604161137.4bedc789@weird.wonkology.org
In Reply to: [gentoo-amd64] emerge system set list by Daiajo Tibdixious
1 Daiajo Tibdixious writes:
2
3 > I know when I do an emerge world it looks at /var/lib/portage/world
4 > for the list of packages.
5 > I went looking for a 'system' list for the emerge system command & did
6 > not find it.
7 > I also looked in make.profile and didn't find anything likely.
8 > I also googled my query but got too many spurious matches.
9 > I'm sure there is a simple answer.
10
11 No, I don't think so. There's the /usr/portage/profiles/base/packages
12 file, which is somewhat similar to /var/lib/portage/world, but the exact
13 list depends on your profile.
14
15 > I want to write a script that reads the system list, finds the
16 > binpkg's, and copies the latest to backup.
17 > I can do this easy for the world list.
18
19 Then this should do it: emerge -ep system | awk '{print $4}'
20
21 Wonko

Replies

Subject Author
Re: [gentoo-amd64] emerge system set list Rich Freeman <rich0@g.o>