|
|
The following steps outline the system actions that occur when a class is installed. The actions are repeated once for each volume of a package as that volume is being installed.
To determine this, pkgadd(ADM) compares the cksum, modtime, and size fields in the installation software database with the values for those fields in your pkgmap(F) file. If they are the same, it then checks the actual file on the installation machine to be certain it really has those values. If the field values are the same and are correct, the pathname for this object will not be included in the list.
If no class action script is provided for installation of a particular class, the files in the generated pathname list will simply be copied from the volume to the appropriate target location.
The class action script is invoked with standard input containing the list generated in Step 1. If this is the last volume of the package and there are no more objects in this class, the script is executed with the single argument of ENDOFCLASS.
After successfully executing Step 2 or 3, an audit of both content and attribute information is performed on the list of pathnames. pkgadd(ADM) creates the links associated with the class automatically. Detected attribute inconsistencies are corrected for all pathnames in the generated list.