Create a file named space with your favorite text editor.
Specify any additional disk space requirements needed by your package. Use this format:
pathname blocks inodes
Specifies a directory name, which may or may not be the mount point for a file system.
Specifies the number of 512-byte blocks that you want reserved.
Specifies the number of required inodes.
For more information, see the space(4) man page.
Save your changes and quit the editor.
Complete one of the following tasks.
If you want to create installation scripts, skip to the next task, How to Write a request Script.
If you have not created your prototype file, complete the procedure in How to Create a prototype File by Using the pkgproto Command. Skip to Step 5.
If you have already created your prototype file, edit it and add an entry for the information file you just created.
Build your package.
See How to Build a Package, if needed.
/opt 1000 1
After you build the package, install it to confirm that it installs correctly and verify its integrity. Chapter 4, Verifying and Transferring a Package explains these tasks and provides step-by-step instructions on how to transfer your verified package to a distribution medium.