[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-portage-dev
Subject:    Re: [gentoo-portage-dev] EBUILD_PHASE for INSTALL_MASK ?
From:       Zac Medico <zmedico () gentoo ! org>
Date:       2018-04-25 18:50:01
Message-ID: ffdc0cd5-26b0-dab5-8214-b682c1b55c15 () gentoo ! org
[Download RAW message or body]

[Attachment #2 (multipart/mixed)]


On 04/25/2018 09:55 AM, Joakim Tjernlund wrote:
> I have a profile.bashrc which generates INSTALL_MASK dynamically and I want
> to only run that during "merge"(when INSTALL_MASK is used by portage) but 
> I cannot find a phase which matches.

The closest phase is pkg_preinst, so you can use [[ ${EBUILD_PHASE} ==
preinst ]]. Also [[ ${EBUILD_PHASE_FUNC} == pkg_preinst ]] is supported
for EAPI 5 and later.


> Am I missing something ? Is there some other variable I can use instead?
> 
>  Jocke
> 


-- 
Thanks,
Zac


["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic