1 |
W dniu pon, 19.02.2018 o godzinie 06∶00 -0500, użytkownik Anthony G. |
2 |
Basile napisał: |
3 |
> On 2/19/18 5:49 AM, Michał Górny wrote: |
4 |
> |
5 |
> > 1. Runtime-switchable USE flags, |
6 |
> |
7 |
> I need to understand this. Where are the specs? |
8 |
|
9 |
https://dev.gentoo.org/~ulm/pms/7-draft/pms.html#x1-670007.3 |
10 |
|
11 |
Long story short, IUSE_RUNTIME specifies extra USE flags that do not |
12 |
require rebuilding the package and whose status can be updated in place |
13 |
(provided that the necessary dependencies are installed). |
14 |
|
15 |
Implementation-wise, I think you would need to find the place where |
16 |
Portage decides to rebuild package because of use flag changes (either |
17 |
due to deps, --changed-use or --newuse). You'd have to check if all |
18 |
changed flags belong in IUSE_RUNTIME and if that's the case (and there |
19 |
is no other reason to rebuild), use a new 'update-in-place' state |
20 |
instead of 'rebuild'. |
21 |
|
22 |
-- |
23 |
Best regards, |
24 |
Michał Górny |