site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Thread-index: AcTMeOmLtdSEi+6fSNy1cZlqFk0LswAN/4TA Thread-topic: PackageMaker bug?
Are you sure it's PackageMaker which is launching it? Is there not a part of your script building a Disk Image?
The script does create a disk image but I added a few lines to count the number of running DiskManagementTool processes and print the value before and after each call to PackageMaker. The value printed increases after the call so I am positive that is where it is coming from. However, it inconsistent as to which call causes it. Sometimes its only one call, other times its all four calls.
Side question: how do you build a meta-package from the commande line using PackageMaker?
Here is a snippit of shell script that I use to create the meta-package: PACKAGEMAKER="/Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker" PACKAGE_DEST="/Users/huych02/package_stage" PACKAGE_FILES="/Users/huych02/dev/Mac/package" mkdir -p "$PACKAGE_DEST" echo "Processes before : `ps -xalww | grep DiskMan | wc -l`" $PACKAGEMAKER -build \ -p "$PACKAGE_DEST/MetaPackage.mpkg" \ -f "$PACKAGE_FILES/MetaRoot" \ -r "$PACKAGE_FILES/MetaResources" \ -i "$PACKAGE_FILES/MetaPackageInfo.plist" \ -d "$PACKAGE_FILES/MetaPackageDescription.plist" echo "Processes after : `ps -xalww | grep DiskMan | wc -l`" The Info.plist files and Description.plist files were generated using the PackageMaker gui. The MetaRoot folder is empty since a meta-package has no files of its own (PackageMaker doesn't work unless a folder is specified). If I have time today, I will make a test script and package that duplicates the possible bug, zip it up, and send it to you. _______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
Huyler, Christopher M