OK thanks

Peter Bonivart wrote:
On Mon, Mar 8, 2010 at 3:42 PM, david <[email protected]> wrote:
I am progressing slowly with the testing I have updated the paths in the
start script and SMF is almost OK. The problem that I have now is that the
manifest that I have in my trunk/files is not being used. I can manually
import it and it works fine. The manifest file is in trunk/files and is
openldap.xml, after install this file should end up here:

/var/opt/csw/method/manifest/network

Then it would be imported into SMF by the postinstall.

The file doesn't seem to end as part of the package even though it is in the
Makefile:

DISTFILES += cswopenldap openldap.xml svc-openldap

The manifest ends up being this one here which does not work, any
suggestions are much appreciated:

<?xml version='1.0'?>
<!DOCTYPE service_bundle SYSTEM
'/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
<!--
Service manifest for cswopenldap
Autogenerated by CSWinitsmf
2008-04-21 Peter Bonivart
-->

This is the standard manifest autogenerated when you use the initsmf
class. I'm interested in why it doesn't work but you're free to use a
custom manifest instead. Just use a magic comment in your start script
and point it to your own manifest and it will be used. You should not
try to mess with this in postinstall.

#MANIFEST /absolute/path/to/manifest   # If set, use this manifest instead

See http://wiki.opencsw.org/cswclassutils-package#toc7.


_______________________________________________
maintainers mailing list
[email protected]
https://lists.opencsw.org/mailman/listinfo/maintainers
.:: This mailing list's archive is public. ::.

Reply via email to