-------- Original Message -------- Subject: Re:[smf-discuss] Adding a dependency to an existing service as part of a jumpstart. From: David Bustos <david.bus...@sun.com> To: Renaud Manus <Renaud.Manus at Sun.COM> Cc: Dave Pratt <dpratt at sw.xo.com>, smf-discuss at opensolaris.org Date: Mon Nov 05 2007 19:52:49 GMT+0100 (CET)
> Quoth Renaud Manus on Mon, Nov 05, 2007 at 03:53:52PM +0100: >> You cannot use svccfg directly from your jumpstart to add the dependency >> because the system has not booted and the repository doesn't know >> about the services yet. > > Well I think you should be able to create the target service and > a dependency property group in it. I believe svccfg import will ignore > it when it imports the respective manifest. > Yes, that should work too. Run "svccfg import" first on the target repository and then create the new dependency. There is an example in svccfg(1M) on how to change the target repository and import a service in it. -- Renaud