pkgbuild is a tool that showed up in Xcode 3.2 and is now included in default Lion installs. It allows you to make an Apple Package from the command line with a minimum amount of effort. One good use for this tool is creating payload-free packages. These packages typically run a postflight script that runs a desired command on the target volume. Rich Trouton has a writeup on how to create payload-free packages using pkgbuild.
Source: Der FlounderAbout Nate Walck
Nate is a Macintosh Systems Engineer at Tamman Technologies, Inc in Philadelphia, PA. He is runs afp548.com along with Sam Keeley and is one of the founding members of the ##osx-server IRC channel on freenode.net. He loves being involved in the Mac Admin community and using Open Source projects whenever possible, especially Munki, The Luggage and Puppet.


Comments are closed