Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] how can I execute a bash command afterebuild is over
Date: Sat, 02 Aug 2014 22:35:08
Message-Id: 20140802233450.05a4fd0b@digimed.co.uk
In Reply to: [gentoo-user] how can I execute a bash command afterebuild is over by covici@ccs.covici.com
1 On Sat, 02 Aug 2014 17:15:51 -0400, covici@××××××××××.com wrote:
2
3 > OK, here is my problem -- I want to execute a command before and another
4 > command after an ebuild. I see how to execute a command before using
5 > /etc/portage/env/category/packagename, but I can't figure out to execute
6 > something after the ebuild is done. Basically, I need to change the
7 > opengl interface during the compile of webkit-gtk, otherwise I get this
8 > hanging process.
9
10 Look at the recent thread about sending notifications after an ebuild
11 completes, that can be applied to running any command by defining hooks
12 in /etc/portage/bashrc.
13
14
15 --
16 Neil Bothwick
17
18 Too many clicks spoil the browse.

Attachments

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

Replies

Subject Author
Re: [gentoo-user] how can I execute a bash command afterebuild is over covici@××××××××××.com