1 |
Christopher Friedt <chrisfriedt@×××××.com> writes: |
2 |
|
3 |
> Here's a thought. |
4 |
> |
5 |
> In the install hook in portage, maybe a good idea would be to record |
6 |
> all files that were affected by running chpathtool. Somewhere in |
7 |
> /var/db? |
8 |
> |
9 |
> In the "clean" hook (of emerge -C) or the "update" hook (for when |
10 |
> re-emerging a package), delete or re-record all files affected by |
11 |
> chpathtool? |
12 |
> |
13 |
> That would make it at least a bit easier to run chpathtool globally |
14 |
> when copying the entire prefix. |
15 |
|
16 |
It's easier to scan all the files at once and globally. |
17 |
|
18 |
Changing EPREFIX is a rare case anyway. At least I myself don't have the |
19 |
motivation to develop such a tracking mechanism. |
20 |
|
21 |
Not all things can be fixed with chpathtool, like the config files, |
22 |
profiles, scripts. It is necessary to do "emerge -e @world" sooner or |
23 |
later. |