* [gentoo-pms] What is meant by "once the current phase function has returned"?
@ 2009-06-04 13:50 Ulrich Mueller
2009-06-04 14:50 ` Ciaran McCreesh
0 siblings, 1 reply; 2+ messages in thread
From: Ulrich Mueller @ 2009-06-04 13:50 UTC (permalink / raw
To: gentoo-pms
Hi,
in the description of several commands (e.g., "has_version" and
"best_version") I find the following sentence:
,----
| Ebuilds must not run any of these commands once the current phase
| function has returned.
`----
Can somebody please enlighten me what is meant by this? (The only
explanation I could think of is that the ebuild should not background
the command, but that seems very far-fetched. ;-)
Ulrich
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [gentoo-pms] What is meant by "once the current phase function has returned"?
2009-06-04 13:50 [gentoo-pms] What is meant by "once the current phase function has returned"? Ulrich Mueller
@ 2009-06-04 14:50 ` Ciaran McCreesh
0 siblings, 0 replies; 2+ messages in thread
From: Ciaran McCreesh @ 2009-06-04 14:50 UTC (permalink / raw
To: gentoo-pms
[-- Attachment #1: Type: text/plain, Size: 960 bytes --]
On Thu, 4 Jun 2009 15:50:24 +0200
Ulrich Mueller <ulm@gentoo.org> wrote:
> in the description of several commands (e.g., "has_version" and
> "best_version") I find the following sentence:
>
> ,----
> | Ebuilds must not run any of these commands once the current phase
> | function has returned.
> `----
>
> Can somebody please enlighten me what is meant by this? (The only
> explanation I could think of is that the ebuild should not background
> the command, but that seems very far-fetched. ;-)
Yes, that's what it means. Really I wanted to ban ebuilds from spawning
any process that lasts beyond the scope of the phase function, but
unfortunately some ebuilds do naughty things with init scripts, so
we had to make do with things that query package manager internals...
I seem to recall this being discussed on gentoo-dev along with the
parallelisation stuff, although I can't seem to find an archives link.
--
Ciaran McCreesh
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-06-04 14:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-04 13:50 [gentoo-pms] What is meant by "once the current phase function has returned"? Ulrich Mueller
2009-06-04 14:50 ` Ciaran McCreesh
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox