How to create a Solaris IPS PKG

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

The below example creates a Solaris pkg from the Nagios application, you can then publishes the pkg to a Solaris repository.
Note: To see how-to publish this pkg to a Solaris repository click here

Extract legacy pkg to temp directory

Create a directory with all files being used for example nagios.
Then under this directory create all sub directory’s like if its the system root, exmaple below

Create mainfest with all pkg info (look below for example)

Now to transfer to the final repo

Note: to test

To retrieve the package from the repo in a raw format

Note: to remove any file or service just remove the line fro the manifest

Helpful links

https://www.joyent.com/blog/installing-svr4-packages-on-smartos
http://www.oracle.com/technetwork/articles/servers-storage-admin/o11-097-create-pkg-ips-524496.html
https://docs.oracle.com/cd/E53394_01/html/E54820/pkgcreate.html#scrolltoc

Nagios manifest

Leave a Reply

avatar
  Subscribe  
Notify of