Gentoo Archives: gentoo-portage-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-portage-dev@l.g.o, Michael Orlitzky <mjo@g.o>
Subject: Re: [gentoo-portage-dev] [PATCH v2] install-qa-check: Do not install empty directories
Date: Wed, 10 Jan 2018 20:55:05
Message-Id: b183feba-ae40-bb10-0f70-7923b4f2a09a@gentoo.org
In Reply to: Re: [gentoo-portage-dev] [PATCH v2] install-qa-check: Do not install empty directories by Michael Orlitzky
1 On 01/10/2018 12:39 PM, Michael Orlitzky wrote:
2 > On 01/10/2018 03:13 PM, Michał Górny wrote:
3 >> Remove empty directories in install-qa-check phase in order to prevent
4 >> Portage from installing them, and therefore from developers relying
5 >> on them being installed.
6 >
7 > This is going to break a lot of packages whose build systems create e.g.
8 > /var/lib/foo and do nothing with it immediately. The ebuild should be
9 > calling keepdir on those paths, but how would anyone know that?
10
11 If we consider that portage already removes these directories if they
12 are still empty when the package is re-merged or upgraded, then maybe
13 the risk is low enough?
14 --
15 Thanks,
16 Zac

Attachments

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

Replies