Gentoo Archives: gentoo-portage-dev

From: Ulrich Mueller <ulm@g.o>
To: "Michał Górny" <mgorny@g.o>
Cc: 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 11:24:41
Message-Id: w6go9ddjyjb.fsf@kph.uni-mainz.de
In Reply to: [gentoo-portage-dev] [PATCH] install-qa-checks.d: Add a check for Gentoo path policies (FHS-y) by "Michał Górny"
1 >>>>> On Tue, 04 Sep 2018, Michał Górny wrote:
2
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 > + # directories in /usr which can be installed to by ebuilds
17 > + local allowed_paths_usr=(
18 > + "${allowed_common_dirs[@]}"
19 > + include libexec share src
20 > + # toolchain stuff
21 > + "${CHOST}" "${CTARGET}"
22 > + )
23
24 Maybe add a comment that you've deliberately omitted games?
25
26 Ulrich

Attachments

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

Replies