Huafeng Lu wrote:
> ? 2008?10?08? 01:47, Jordan Brown ??:
>> The best answer is to deliver the manifest in a package, and set the 
>> file class for the manifest to "manifest".  System-supplied class 
>> action scripts will then do the right things on install and uninstall.
> 
> Hi Jordon,
> 
> Yes I'm putting these file in a package, so such "svccfg delete" and 
> "svccfg import" operations should be done as part of "pkgrm" and 
> "pkgadd". Will you please provide more details about "file class" and 
> "system-supplied class action scripts"? Any examples? Thanks.

In your prototype file, the second column is the class name.  It's 
probably "none".  Change it to "manifest" for the manifest file.

In your pkginfo file, add "manifest" to the CLASSES variable.

If you might have to install against early releases of Solaris 10, 
you'll want patches 121901-02 (sparc) and 121902-02 (x86), which deliver 
the appropriate files.

Reply via email to