1 |
On Tue, Jun 5, 2012 at 12:40 AM, Mark Knecht <markknecht@×××××.com> wrote: |
2 |
> On Mon, Jun 4, 2012 at 6:23 AM, Daiajo Tibdixious <daiajo@×××××.com> wrote: |
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 |
>> I want to write a script that reads the system list, finds the |
12 |
>> binpkg's, and copies the latest to backup. |
13 |
>> I can do this easy for the world list. |
14 |
>> -- |
15 |
>> Daiajo Tibdixious daiajo@×××××.com |
16 |
>> |
17 |
> |
18 |
> With the newer versions of portage (2.2.x) you can do |
19 |
> |
20 |
> emerge -pve @system |
21 |
> |
22 |
> On my box it returned a result of 439 packages. Seems high, but... |
23 |
> |
24 |
> You can temporarily move /var/lib/portage/world to some other name. |
25 |
> With the world file gone there's nothing to install to satisfy the |
26 |
> @world set. With this setup I did |
27 |
> |
28 |
> emerge -pve @world |
29 |
> |
30 |
> and got a result of 439 package, so at least there is agreement. |
31 |
> |
32 |
> Now, I don't truly believe all of these 439 packages are necessary to |
33 |
> complete @system as my 32-bit Gentoo VM only has 174 packages in |
34 |
> @world. |
35 |
> |
36 |
> Go figure, and don't forget to move the world file back again... ;-) |
37 |
> |
38 |
> HTH, |
39 |
> Mark |
40 |
> |
41 |
ty all, I forgot about the dependent packages. I might forget about |
42 |
separating system & world & just backup all the binpkg's |