flat packages

Joshua Root jmr at macports.org
Thu Mar 29 11:19:36 PDT 2012


On 2012-3-30 05:06 , Jeremy Lavergne wrote:
>> 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

Forgot to mention, I already read the docs and I'm not much the wiser
about what we're doing wrong. :-)

- Josh


More information about the macports-dev mailing list