On 10/05/2018 03:35 PM, Andrew Jeddeloh wrote:
> From: Andrew Jeddeloh <andrew.jedde...@coreos.com>
> 
> Do not ignore binpkgs when using --buildpkgonly. If binpackages exist
> that can be used, they should be. This prevents rebuilding binpkgs when
> using --emptytree with --buildpkgonly.
> 
> Signed-off-by: Andrew Jeddeloh <andrew.jedde...@coreos.com>
> ---
>  lib/_emerge/actions.py | 7 -------
>  1 file changed, 7 deletions(-)
> 
> diff --git a/lib/_emerge/actions.py b/lib/_emerge/actions.py
> index 46cb02791..e5200d73d 100644
> --- a/lib/_emerge/actions.py
> +++ b/lib/_emerge/actions.py
> @@ -2890,13 +2890,6 @@ def run_action(emerge_config):
>       if "--usepkgonly" in emerge_config.opts:
>               emerge_config.opts["--usepkg"] = True
>  
> -     if "--buildpkgonly" in emerge_config.opts:
> -             # --buildpkgonly will not merge anything, so
> -             # it cancels all binary package options.
> -             for opt in ("--getbinpkg", "--getbinpkgonly",
> -                     "--usepkg", "--usepkgonly"):
> -                     emerge_config.opts.pop(opt, None)
> -
>       # Populate the bintree with current --getbinpkg setting.
>       # This needs to happen before:
>       # * expand_set_arguments, in case any sets use the bintree
> 

Thanks, merged:

https://gitweb.gentoo.org/proj/portage.git/commit/?id=2e87bfaabd0550f0b34556470b28906d30bd5e48
-- 
Thanks,
Zac

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to