On Wed, Feb 19, 2014 at 8:56 PM, Gregory Neagle <
gregn...@mac.com> wrote:
> A bundle-style packaged flattened this way is not guaranteed to work with Apple's installer. A flat package has a different internal organization than a bundle-style package.
>
> On Feb 19, 2014, at 5:43 PM, Josh Malone <
josh....@gmail.com> wrote:
>
>> pkgutil --flatten is your friend
>>
>> I download the munkitools dist, pull out the app, launchd and core
>> sub-pkgs and build a mpkg from those using Apple packagemaker. From
>> there, I use pkgutil --expand
>
> ?? If the package is a bundle-style package it can't be expanded. If it's a flat package, there's no need to expand it and reflatten it...
Okay - that's what I get when I reply to technical emails "off-the-cuff".
What I meant to say was that I use PackageMaker to re-packge the
munkitools without the "admin" portion (I know - not necessary) and
build a flat package using PM. However, I have to expand and
re-flatten it to remove the package signing because all I have is a
self-signed cert and clients will complain. Re-flattening removes the
signature entirely which -- for some reason I don't understand --
doesn't result in any complaints.
Sorry for my previous email - please disregard it. :)