AFP548

Is there a method to use flat packages like xcode in instaDMG?

I'm trying to roll xcode into my image. I see that the xcode.mpkg is a flat package and it calls a bushel of other packages that are in a hidden folder on the xcode dmg. I've tried just including the code dmg by hand like this as InstaUp2Date chokes on xcode: [code] # pwd /...../instadmg/InstallerFiles/BaseUpdates # ls 9 -> ../InstaUp2DatePackages/xcode321_10m2003_developerdvd.dmg [/code] It runs the xcode.mpkg but does not seem to do anything as it only takes 9 seconds to run: [code] Working on folder 9 (07:52:06) Mounting the package dmg: xcode321_10m2003_developerdvd.dmg (./InstallerFiles/BaseUpdates/9) at: /private/tmp/InstaDMG_temp_folder.VisiwP/mount_point.ffXux2 Installing Xcode.mpkg from ../InstaUp2DatePackages/xcode321_10m2003_developerdvd.dmg (9) Folder 9 done (07:52:15) [/code] I also see in the instadmg.bash this comment [code] # check to see if this package should be excluded from the chroot system if [ -d "$UPDATE_PKG" ]; then # does not work on flat packages PACKAGE_BUNDLE_ID=`/usr/bin/defaults read "$UPDATE_PKG/Contents/Info" "CFBundleIdentifier" 2>/dev/null` PACKAGE_CHROOT_DISABLE=`/usr/bin/defaults read "$UPDATE_PKG/Contents/Info" "InstaDMG Chroot Disable" 2>/dev/null` [/code] Not sure if that means that chroot does not work on flat packages, or instadmg does not work on flat packages in general. So does anybody have a method I can use to install xcode.mpkg and help me with the tedium of installing all the hidden packages or is my only option to set up a few dozen symlinks in the BaseUpdates folder for every package in xcode?
Exit mobile version