W dniu pon, 19.02.2018 o godzinie 06∶00 -0500, użytkownik Anthony G.
Basile napisał:
> On 2/19/18 5:49 AM, Michał Górny wrote:
> 
> > 1. Runtime-switchable USE flags,
> 
> I need to understand this.  Where are the specs?

https://dev.gentoo.org/~ulm/pms/7-draft/pms.html#x1-670007.3

Long story short, IUSE_RUNTIME specifies extra USE flags that do not
require rebuilding the package and whose status can be updated in place
(provided that the necessary dependencies are installed).

Implementation-wise, I think you would need to find the place where
Portage decides to rebuild package because of use flag changes (either
due to deps, --changed-use or --newuse).  You'd have to check if all
changed flags belong in IUSE_RUNTIME and if that's the case (and there
is no other reason to rebuild), use a new 'update-in-place' state
instead of 'rebuild'.

-- 
Best regards,
Michał Górny


Reply via email to