home *** CD-ROM | disk | FTP | other *** search
/ ftp.sustworks.com 2018 / ftp.sustworks.com.zip / ftp.sustworks.com / USBAx8817x_103b6.dmg / src / Panther / Package_Maker_Notes.txt < prev    next >
Text File  |  2006-10-15  |  2KB  |  35 lines

  1. Package Maker Notes
  2. Last updated 29-Aug-2005
  3.  
  4. These notes describe how to use the supplied Package Maker projects:
  5.  
  6.   USBAx8817x_Panther.pmproj
  7.   USBAx8817x_Tiger.pmproj
  8.  
  9. to create a new installer package for these drivers.  The basic steps are:
  10.  
  11. (1) Build the corresponding driver using the xCode project supplied.  This will create a "Build" subdirectory tree containing the various intermediate files and the driver itself.  The driver will be in the Build/Development/ directory.
  12.  
  13. (2) Copy the driver to the "install" directory.
  14.  
  15. (3) Set the file permissions so the driver can be installed and loaded as a kernel extension (kext).  From a Terminal window you can use:
  16.  
  17. sudo chown -R root:wheel install
  18.  
  19. You can have the Terminal fill in the <path-to-driver> by dragging and dropping the driver icon from the install directory.
  20.  
  21. (4) Open the corresponding Package Maker ".pmproj" file above and build it.
  22.  
  23. (5) Test the resulting package installs a working driver as desired.
  24.  
  25. (6) Delete the "Build" directory trees and the contents of the "install" directory to keep the size of the distribution kit down.  Under the GPL terms, you must make any modified sources you develop available, so it's probably best to just keep them all together as part of the distribution kit.
  26.  
  27. If you want the installer to verify the correct version of Mac OS X is present before installing the driver, you can tell Package Maker to use the "Extras" folder under the scripts tab.  This contains a basic shell script for testing the system version.  I didn't use this in the default distribution because it requires users to execute another program (a shell script) from a potentially unknown source.  Later versions of Mac OS X provide a ".plist" mechanism for specifying installation requirements, but this is not directly supported from the package maker Editor.
  28.  
  29. I welcome your comments and suggestions.
  30.  
  31. - Peter Sichel
  32.   Sustainable Softworks
  33.   psichel "at" sustworks "dot" com
  34.  
  35.