DragonFly BSD
DragonFly kernel List (threaded) for 2004-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Unionfs etc Re: Packaging


From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxx>
Date: Fri, 12 Mar 2004 16:37:32 +0100

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]