On Wed, May 26, 2004 at 08:19:40PM -0700, Tim Kientzle wrote: > Brenden Grace wrote: > >In this thread: > >http://lists.freebsd.org/pipermail/freebsd-hackers/2003-June/001673.html > > > >some people seem to think that @cwd is broken. The man pages do not > >explicitly state how @cwd should operate, but currently the directory > >must exist for pkg_create to run properly. > > > >This is extremely annoying because build machines *must* create the > >final directory structure of the target install before the package can > >be created.
I thought the directory structure is supposed to be created using mtree files? The ports collection runs 'mtree' before running the actual 'make install' in the port's working directory; as for pkg_add and generated packages, they should include a @mtree directive in +CONTENTS and an +MTREE_DIRS file... > >So my question is, does the 5.2.1 version of pkg_create contain a bug or > >is pkg_create really just very limited? > > Try it with bsdtar as the system default tar > and see if that behaves any differently. > (WITH_BSDTAR=1 in /etc/make.conf). Errr, that's all fine and good, but how about people who still use GNU tar for various reasons, such as sticking with RELENG_4? :) Or do you have any plans for MFC'ing libarchive/bsdtar into RELENG_4 (please please please!), even without making it the default? G'luck, Peter -- Peter Pentchev [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 .siht ekil ti gnidaer eb d'uoy ,werbeH ni erew ecnetnes siht fI
pgpsww0KKU857.pgp
Description: PGP signature