How To Add Pre-/Post-Scripts to IPS Packages
My [URL="http://constantin.glez.de/blog/2010/08/oracle-solaris-11-future"]last post about Solaris 11[/URL] triggered [URL="http://constantin.glez.de/blog/2010/08/oracle-solaris-11-future#comment-69576619"]an interesting discussion with UX-admin about IPS and the lack of pre-/post-scripts for installation/removal[/URL].
Assuming that Solaris 11 will be based on [URL="http://hub.opensolaris.org/bin/view/Project+pkg/"]IPS[/URL] just like OpenSolaris, it is certain that sysadmins will have to change a lot in how they create and manage packages, because IPS is fundamentally different from the good old System V packaging system.
So let's explore the lack of scripting hooks in IPS and see if we can find some ways of working around them:
One of the fundamental differences between IPS and traditional System V packaging in versions of Solaris