1 |
Pandu Poluan asks: |
2 |
|
3 |
> How does emerge know which files to delete during unmerge? |
4 |
|
5 |
The list of files belonging to a package can be found in |
6 |
/var/db/pkg/<category>/<package>-<version>/CONTENTS. |
7 |
|
8 |
> I'm asking this one because I'm in the midst of writing an ebuild, and |
9 |
> I want to know how to tell emerge what new files has been added (if |
10 |
> necessary) |
11 |
|
12 |
That's not necessary, the CONTENTS file is being generated automatically |
13 |
from the contents in /var/tmp/portage/<category>/<package>-<version>/image |
14 |
directory. That's where packages are being installed into, and then portage |
15 |
copies them into the live file system. |
16 |
|
17 |
Wonko |