Re: PackageMaker command-line package size problem
Re: PackageMaker command-line package size problem
- Subject: Re: PackageMaker command-line package size problem
- From: Stephane Sudre <email@hidden>
- Date: Thu, 19 Jul 2007 16:46:20 +0200
On 19 juil. 07, at 10:45, Paul Tapper wrote:
Hi,
I've used PackageMaker, through its GUI, to make a pkg of a component,
which came out as 765kB in size.
To automate my build process a bit, I've now got a bash script which
copys the component into a Temp folder and then builds the pkg using
PackageMaker's command-line parameters, (extract below):
"${PKGM}" -build -p ./MyAU.pkg -f ./Temp -d
./PackageStuff/AU/Description.plist -i ./PackageStuff/AU/info.plist
This builds a pkg, which functions correctly. The only problem with
it is that the pkg built with the command-line is 1.4mB in size. If I
look at the contents, the difference in size is coming from the
Contents/Resources sub-folder. In the GUI built pkg there's a .pax.gz
file which is 1kB in size, but in the command-lne build pkg there's a
.pax.gz file which is 700kB. Both pkg's have a .pax.gz of about 700kB
in the Contents sub-folder, but it looks like the command-line built
one has a duplicate in the Contents/Resources sub-folder.
Does any one have any idea what's going on here?
Depending on the package format, there can be a symbolic link in the
Resources folder to the .pax.gz file in the Contents folder.
If you're targeting Mac OS X 10.2 or later, you don't need this
symbolic link.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden