Gentoo Archives: gentoo-portage-dev

From: Jason Stubbs <jstubbs@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] Running commands after a merge (via /etc/portage/package.hooks)
Date: Thu, 23 Sep 2004 12:48:14
Message-Id: 200409232150.38911.jstubbs@gentoo.org
In Reply to: Re: [gentoo-portage-dev] Running commands after a merge (via /etc/portage/package.hooks) by Sven Vermeulen
1 On Thursday 23 September 2004 19:48, Sven Vermeulen wrote:
2 > On Wed, Sep 22, 2004 at 10:56:01PM -0400, Colin Kingsley wrote:
3 > > Ths sounds usefull, but similar to package.cflags and a few other
4 > > things, probably takes alot of work to implement and doesnt benefit
5 > > enough users to justify it.
6 >
7 > Can the ebuild's test function be (ab)used for this? It does mean altering
8 > the ebuild (so it's less userfriendly) though.
9
10 The test function wouldn't work for two reasons. One is that the test function
11 is run before the package is merged to the live filesystem. Actually, it's
12 run before src_install is even ran. The second reason is that it is not run
13 at all for binary packages.
14
15 Regards,
16 Jason Stubbs
17
18 --
19 gentoo-portage-dev@g.o mailing list

Replies