Bob Doolittle wrote:
Bart Smaalders wrote:
Bob Doolittle wrote:
Is there an equivalent of "installf" for IPS to add a file to the package database for an installed package, so that if that package is subsequently uninstalled the file is removed, and so that ownership of the file can be established be searching the package database?
What file is this - or rather, where is it in the filesystem?

It's a file that is generated at runtime by a layered product, and it will be added into /var/opt/PRODNAMESPACE/.

So, we could live with adding the file into the package database, or with marking /var/opt/PRODNAMESPACE as exclusive so that when the directory was removed all contents would be removed as well.

The first is by far the simplest if that works for you; just add
it empty to the package and mark it as editable.  The packaging
system will leave it alone once modified until you uninstall the
package, whereupon it will be deleted.

- Bart

--
Bart Smaalders                  Solaris Kernel Performance
[email protected]         http://blogs.sun.com/barts
"You will contribute more with mercurial than with thunderbird."
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to