Application Packaging Developer's Guide

Creating Object Entries With File Types v, e, x, and i

At the very least, you need to modify the prototype file to add objects with file type i. If you stored your information files and installation scripts in the first level of your package directory (for example, /home/jane/SUNWcadap/pkginfo), then an entry in the prototype file would look like:


i pkginfo

If you did not store your information files and installation scripts in the first level of your package directory, then you need to specify their source location. For example:


i pkginfo=/home/jane/InfoFiles/pkginfo

Or, you can use the !search command to specify the location for the pkgmk command to look when building the package. See Providing a Search Path for the pkgmk Command for more information.

To add entries for objects with file types v, e, and x, follow the format described in The Format of the prototype File, or refer to prototype(4).


Note –

Remember to always assign a class to files with a file type of e (editable) and have an associated class action script for that class. Otherwise, the files will be removed during package removal, even if the path name is shared with other packages.