Gentoo Archives: gentoo-portage-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-portage-dev@l.g.o, Joakim Tjernlund <Joakim.Tjernlund@××××××××.com>
Subject: Re: [gentoo-portage-dev] EBUILD_PHASE for INSTALL_MASK ?
Date: Wed, 25 Apr 2018 18:50:17
Message-Id: ffdc0cd5-26b0-dab5-8214-b682c1b55c15@gentoo.org
In Reply to: [gentoo-portage-dev] EBUILD_PHASE for INSTALL_MASK ? by Joakim Tjernlund
1 On 04/25/2018 09:55 AM, Joakim Tjernlund wrote:
2 > I have a profile.bashrc which generates INSTALL_MASK dynamically and I want
3 > to only run that during "merge"(when INSTALL_MASK is used by portage) but
4 > I cannot find a phase which matches.
5
6 The closest phase is pkg_preinst, so you can use [[ ${EBUILD_PHASE} ==
7 preinst ]]. Also [[ ${EBUILD_PHASE_FUNC} == pkg_preinst ]] is supported
8 for EAPI 5 and later.
9
10
11 > Am I missing something ? Is there some other variable I can use instead?
12 >
13 > Jocke
14 >
15
16
17 --
18 Thanks,
19 Zac

Attachments

File name MIME type
signature.asc application/pgp-signature