Unionfs etc Re: Packaging

Simon 'corecode' Schubert corecode at fs.ei.tum.de
Fri Mar 12 02:07:33 PST 2004


On 12.03.2004, at 02:51, 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.
If we use /usr/dflypkg/* (or else) and map that to /usr/local (or 
else), a pkg_delete will just remove the dir in /usr/dflypkg. 
Furthermore, we got a MTREE file for /usr/local too.

cheers
  simon
--
/"\   http://corecode.ath.cx/#donate
\ /
 \     ASCII Ribbon Campaign
/ \  Against HTML Mail and News
Attachment:
PGP.sig
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00005.pgp
Type: application/octet-stream
Size: 186 bytes
Desc: "Description: This is a digitally signed message part"
URL: <http://lists.dragonflybsd.org/pipermail/kernel/attachments/20040312/164faf0d/attachment-0015.obj>


More information about the Kernel mailing list