Gentoo Archives: gentoo-portage-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] [PATCH] install-qa-checks.d: Add a check for Gentoo path policies (FHS-y)
Date: Tue, 04 Sep 2018 14:23:24
Message-Id: 1536070994.752.1.camel@gentoo.org
In Reply to: Re: [gentoo-portage-dev] [PATCH] install-qa-checks.d: Add a check for Gentoo path policies (FHS-y) by Ulrich Mueller
1 On Tue, 2018-09-04 at 13:24 +0200, Ulrich Mueller wrote:
2 > > > > > > On Tue, 04 Sep 2018, Michał Górny wrote:
3 > > + # toplevel directories which can be installed to by ebuilds
4 > > + # /home is not included as no ebuilds should install files there
5 > > + local allowed_paths_toplevel=(
6 > > + "${allowed_common_dirs[@]}"
7 > > + boot dev etc opt srv usr var
8 > > + # TODO: do we need it? gconf installs empty dir there but that's
9 > > + # all
10 > > + root
11 > > + )
12 >
13 > Does any package actually install files in /srv? (GLEP 20 suggested
14 > that, but it wasn't accepted.)
15
16 Not that I know of. I added it just in case.
17
18 >
19 > > + # directories in /usr which can be installed to by ebuilds
20 > > + local allowed_paths_usr=(
21 > > + "${allowed_common_dirs[@]}"
22 > > + include libexec share src
23 > > + # toolchain stuff
24 > > + "${CHOST}" "${CTARGET}"
25 > > + )
26 >
27 > Maybe add a comment that you've deliberately omitted games?
28 >
29
30 It wasn't deliberate -- I've simply forgotten about that subtree. But I
31 suppose it makes sense not to allow it now, so I'll do that.
32
33 --
34 Best regards,
35 Michał Górny

Attachments

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