flat packages

Jeremy Lavergne jeremy at lavergne.gotdns.org
Thu Mar 29 11:06:24 PDT 2012


> It came up in a private conversation that we should really be generating
> flat packages in 'port pkg' these days, at least for current platforms.
> Unfortunately, if you set package.flat currently, even though all the
> resources end up in the package (which you can check by extracting it
> with xar), none of them get used. That means no InstallationCheck script
> (and probably no postflight), no Welcome.html, no ReadMe or license, and
> no background image.
> 
> Is anyone familiar enough with the packagemaker CLI and/or flat packages
> in general to know how to do this stuff correctly?

I could dig around and help out. I'm not afraid to read up on packagemaker, I'm just not experienced with it or flat packages.

Highlights from what I see so far:
 * it has a simple flag for flat packages from a give root using the --root flag
 * the --target options only mentions 10.3 10.4 and 10.5 (no Installer changes since 10.5?)

The best information, if we need to redo the packaging code, is their website (updated 2012-02-16):
https://developer.apple.com/library/mac/#documentation/DeveloperTools/Conceptual/PackageMakerUserGuide/Introduction/Introduction.html

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 8796 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20120329/8dc88503/attachment-0001.bin>


More information about the macports-dev mailing list