Anoop Rajendra wrote:
> Lets say I have a package SUNWmypkg in /root
> I have an IPS server running in localhost.
> 
> What command line options should I supply to solaris.py to upload this
> package to the localhost server. I've tried a few, but nothing obvious
> jumps out, and since there didn't seem to be much documentation, I'm
> not sure what to do.

Create a text file, eg local.i386, whose contents are:
package SUNWmypkg
import SUNWmypkg
end package

Edit solaris.py, changing cfg (if necessary?) and wos_path (to
/root in your case), and then run
% ./solaris.py local.i386
but I don't think this will handle dependencies.


> Also, you mention that either the opensolaris.org  or the localhost
> server can be used as my default repository. Is there a way to get IPS
> to use both repositories at the same time, and have "pkg status -a"
> show packages from both?

I've been wondering that myself?

- Dermot

_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to