how to create "package groups" and/or associate packages with a group?
how to create "package groups" and/or associate packages with a group?
- Subject: how to create "package groups" and/or associate packages with a group?
- From: "Kennedy, Smith (CSL Mac Software - IPG)" <email@hidden>
- Date: Wed, 14 Apr 2010 17:04:27 +0000
- Acceptlanguage: en-US
- Thread-topic: how to create "package groups" and/or associate packages with a group?
Greetings,
I'm not sure why I never noticed this before, but recently I discovered that, after installing a metapackage wrapping a number of packages, there will be database / receipt information for the packages contained by the metapackage, but no database / receipt information for the metapackage itself. The same holds true for distribution scripts that wrap 2 or more other packages. This kind of makes sense, at one level, because there is no BOM for the metapackage; it is just a wrapper. But I can easily imagine cases (some very much real and not imaginary) where there is value in knowing what metapackage deployed a particular package, especially given that there is no facility for "dependency calculation" in the Mac OS X installer ecosystem (separate topic, don't want to discuss that here).
Last night I was looking at pkgutil a bit more closely, and came across the "--groups" option. Inspecting a Snow Leopard system, I found a few groups, and spent some time looking through those groups. But I have found no documentation on how a "group" gets created. Nor have I found how I could annotate my packages or distributions with group information. I suppose I could be making calls to "pkgutil" in a postflight script for the metapackage / distribution, but that has the wrong smell.
Has anybody figured out how to use this grouping mechanism, and decided to use it or not use it? How have others who needed to record grouping gotten around this deficiency, other than squirreling a file away somewhere else in the file system?
Thanks for any help or thoughts,
Smith
_______________________________________________
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