Unionfs etc Re: Packaging

Joerg Sonnenberger joerg at britannica.bec.de
Fri Mar 12 07:41:39 PST 2004


On Thu, Mar 11, 2004 at 08:51:11PM -0500, Rahul Siddharthan wrote:
> Another question: the FreeBSD porters' handbook requires you to create
> a directory tree first in your temporary install directory when
> building pkg-plist, and add any newly created directories to pkg-plist
> with a @dirrm -- is this really necessary?  It seems to me that we can
> just make pkg_delete (or its successor) remove any empty directories
> it finds after deleting files, including /usr/local/share or other
> "standard" places -- there's no reason to have these directories if
> there's nothing in them.

The only and correct solution is determing wether any other package uses
such an directory. There is a reason for empty directories so exist, e.g.
think of a chroot directory for a process not wanting any file IO. Also
the location for perl/python modules can be empty once installed and there
is no need for ".KEEP_THIS" entries.

Joerg

> Rahul





More information about the Kernel mailing list