Re: what's the archive format?
Re: what's the archive format?
- Subject: Re: what's the archive format?
- From: Stéphane Sudre <email@hidden>
- Date: Mon, 24 Mar 2008 22:43:15 +0100
On Mar 22, 2008, at 1:01 AM, Bill Janssen wrote:
I'm building an installer essentially by hand -- using an old Python
script called buildpkg.py. To create the Archive.bom file, it uses
"mkbom <sourcefolder> <bompath>", and to create the PAX archive, it
cd's to the <sourcefolder>, then uses "pax -w -f <archive-path> .",
then invokes "gzip" on the resulting file to compress it, winding up
with "Archive.pax.gz". Has been working fine for years. However,
when I use this on Leopard, and then run the resulting installer, I
get the following error messages:
pkgExtractor[79737]: BomFatalError - cpio read error: bad file format
pkgExtractor[79737]: Package Authoring Error: Package
"UpLib-1.7.3.pkg" is using a deprecated archive format. Running in
compatibility mode.
The installer still seems to work, but I'd like to make whatever
changes are necessary to make these messages disappear.
I'm surprised this is working because the result of this command line
was not working well for me with recent major OS versions.
I'm using the following calls:
o Mac OS X 10.3.9 and earlier:
pax -w -z -x cpio -f <archive-path> .
o Mac OS X 10.4 and later:
ditto -c -z . <archive-path>
ditto works well with ACLs enabled. pax did not when I tested it (it
may have been fixed but I didn't check).
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden