Gentoo Archives: gentoo-portage-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-portage-dev@l.g.o, Daniel Cordero <gentoo.portage@××××.io>
Subject: Re: [gentoo-portage-dev] [PATCH] Install example repo.postsync.d script into sharedir
Date: Mon, 08 Nov 2021 22:49:12
Message-Id: c3d1efa1-5f70-63e0-ec36-65a8d198c279@gentoo.org
In Reply to: [gentoo-portage-dev] [PATCH] Install example repo.postsync.d script into sharedir by Daniel Cordero
1 On 11/4/21 02:50, Daniel Cordero wrote:
2 > The sysconfdir is for host specific configuration files, and this
3 > example script makes no host specific change (it is not enabled by
4 > default).
5 >
6 > Install the script under portage's sharedir, from where administrators
7 > can copy it into sysconfdir, if needed.
8 >
9 > Signed-off-by: Daniel Cordero <gentoo.portage@××××.io>
10 > ---
11 > setup.py | 4 ++--
12 > 1 file changed, 2 insertions(+), 2 deletions(-)
13 >
14 > diff --git a/setup.py b/setup.py
15 > index 549fff650..fe0265c64 100755
16 > --- a/setup.py
17 > +++ b/setup.py
18 > @@ -833,12 +833,12 @@ setup(
19 > ["$portage_setsdir", ["cnf/sets/portage.conf"]],
20 > ["$docdir", ["NEWS", "RELEASE-NOTES"]],
21 > ["$portage_base/bin", ["bin/deprecated-path"]],
22 > - ["$sysconfdir/portage/repo.postsync.d", ["cnf/repo.postsync.d/example"]],
23 > + ["$portage_confdir/repo.postsync.d", ["cnf/repo.postsync.d/example"]],
24 > ],
25 > [
26 > ("etc", "cnf", ("etc-update.conf", "dispatch-conf.conf")),
27 > ("etc/logrotate.d", "cnf/logrotate.d", ("elog-save-summary",)),
28 > - ("etc/portage/repo.postsync.d", "cnf/repo.postsync.d", ("example",)),
29 > + ("share/portage/config/repo.postsync.d", "cnf/repo.postsync.d", ("example",)),
30 > (
31 > "share/portage/config",
32 > "cnf",
33 >
34
35 Merged, thanks!
36
37 https://gitweb.gentoo.org/proj/portage.git/commit/?id=b7dc908a99e564de6f10174b1489028d939b917f
38 --
39 Thanks,
40 Zac