Gentoo Archives: gentoo-alt

From: Jeremy Olexa <darkside@g.o>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] Run script after emerge --sync ?
Date: Mon, 24 Jan 2011 16:31:13
Message-Id: 28678875c388455bd8b3bda08ec4d615@webmail.jolexa.net
In Reply to: Re: [gentoo-alt] Run script after emerge --sync ? by Christopher Warrington
1 On Sat, 15 Jan 2011 05:35:10 -0500, Christopher Warrington wrote:
2 > On 2011-1-15 2:05 AM, "Alan Hourihane" <alanh@×××××××××××.uk> wrote:
3 >> Is there a way to run a script after an emerge --sync operation ?
4 >
5 >
6 > If you merge app-portage/portage-utils, you are supposed to be able
7 > to
8 > place scripts in ROOT/etc/portage/postsync.d/ that will get run.
9 >
10 > However, the script that I have in my ROOT/etc/portage/bin/post_sync
11 > has a
12 > hardcoded "/etc/portage/postsync.d/" instead of one based on my root.
13 > It
14 > looks like we'll have to fix that. I manually edited the post_sync
15 > script
16 > to point it to the proper ROOTed location, and the scripts ran after
17 > my
18 > most recent sync.
19
20 Fixed without a revbump - you'll need to remerge it. Sorry about the
21 trouble. :)
22 -Jeremy
23
24 > Some notes can be found at
25 > <http://en.gentoo-wiki.com/wiki/Postsync.d>.

Replies

Subject Author
Re: [gentoo-alt] Run script after emerge --sync ? Christopher Warrington <chris@×××××.net>