
How to Add Pre-/Post-Scripts to IPS Packages
My last post about Solaris 11 triggered an interesting discussion with UX-admin about IPS and the lack of pre-/post-scripts for installation/removal.
Assuming that Solaris 11 will be based on IPS (no link, opensolaris.org no longer exists) 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: