public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] rfc: empty directories in ${D}
@ 2018-03-29 14:39 William Hubbs
  2018-03-29 14:47 ` Michał Górny
  0 siblings, 1 reply; 16+ messages in thread
From: William Hubbs @ 2018-03-29 14:39 UTC (permalink / raw
  To: gentoo development

[-- Attachment #1: Type: text/plain, Size: 756 bytes --]

All,

I just happened to notice the following warning from portage when
bumping dhcpcd.

> One or more empty directories installed to /var:

>  /var/lib/dhcpcd

> If those directories need to be preserved, please make sure to create
> or mark them for keeping using 'keepdir'. Future versions of Portage
> will strip empty directories from installation image.

If we are going to require emptty  directories to be marked with
keepdir, I think we should hard fail the emerge rather than quietly
strip the empty directories. If we just strip the directories, this
will, more than likely, lead to broken packages. In the case of dhcpcd,
the upstream build system installs the /var/lib/dhcpcd directory, then
dhcpcd writes to the directory.

Thanks,

William


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2018-04-01 10:32 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-29 14:39 [gentoo-dev] rfc: empty directories in ${D} William Hubbs
2018-03-29 14:47 ` Michał Górny
2018-03-29 15:15   ` Fabian Groffen
2018-03-29 15:26     ` William Hubbs
2018-03-29 15:28   ` Alec Warner
2018-03-29 15:47     ` Michael Orlitzky
2018-03-29 15:57       ` Alec Warner
2018-03-29 16:12         ` Michael Orlitzky
2018-03-31 19:46         ` Andrey Utkin
2018-03-31 21:00           ` Michał Górny
2018-04-01 10:31           ` Ciaran McCreesh
2018-03-29 15:57       ` William Hubbs
2018-03-29 16:24         ` Michael Orlitzky
2018-03-29 16:34           ` William Hubbs
2018-03-29 17:00             ` Michał Górny
2018-03-29 21:12               ` Paweł Hajdan, Jr.

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox