On Sun, 2021-05-30 at 13:29 -0400, mpag...@gentoo.org wrote:
> From: Mike Pagano <mpag...@gentoo.org>
> 
> As the purpose of pkg_pretend is to run sanity checks during
> dependency calculation time, provide the default implementation
> and perform CONFIG_CHECK within it.
> 
> See bug #759238
> 
> Signed-off-by: Mike Pagano <mpag...@gentoo.org>
> ---
>  eclass/linux-mod.eclass | 17 ++++++++++++-----
>  1 file changed, 12 insertions(+), 5 deletions(-)
> 
> diff --git a/eclass/linux-mod.eclass b/eclass/linux-mod.eclass
> index 11b0fd0cf..42e541ed1 100644
> --- a/eclass/linux-mod.eclass
> +++ b/eclass/linux-mod.eclass
> @@ -135,7 +135,7 @@
>  # It's a read-only variable. It contains the extension of the kernel modules.
>  
>  inherit eutils linux-info multilib toolchain-funcs
> -EXPORT_FUNCTIONS pkg_setup pkg_preinst pkg_postinst src_install src_compile 
> pkg_postrm
> +EXPORT_FUNCTIONS pkg_setup pkg_preinst pkg_pretend pkg_postinst src_install 
> src_compile pkg_postrm
>  

Have you verified that this doesn't override pkg_pretend in any
of the eclasses used by the existing consumers?

-- 
Best regards,
Michał Górny



Reply via email to