Subject: Re: pkg_info fails on binary packages without +MTREE_DIRS files
To: David Brownlee <abs@NetBSD.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 07/06/2004 16:30:09
On Wed, 7 Jul 2004, David Brownlee wrote:

> > Or alternatively get rid of this mtree support.
>
>  	In the pkgviews world is it going to be needed?

Not needed. Not used. From mk/bsd.pkg.mk:

.elif ${PKG_INSTALLATION_TYPE} == "pkgviews"
PREFIX=                 ${DEPOTBASE}/${PKGNAME}
NO_MTREE=               yes
.endif

I don't see how it is needed at all. I have used NO_MTREE for several
months. Because of pkgviews and INSTALLATION_DIRS, mtree is not needed to
create directory hiearchies.

It is useful for permissions.

And I do use mtree for its file integrity checking.

 Jeremy C. Reed

 	  	 	 BSD News, BSD tutorials, BSD links
	  	 	 http://www.bsdnewsletter.com/