Anoop,
If you have SVR4 packages, there is already script for sending to the
IPS server. Please have a look at src/util/distro-import/solaris.py from
the hg repository.

Another thing is that to use IPS repository, you need to create it
first, for example to create user repository, please type command:
pkg create-image -u -a somauthority.com=http://localhost:1000
/test/directory

than if you will go to the /test/directory:
cd /test/directory
you can use this as the "root" for your local image, so typing
pkg status -a
should show all the packages on the server

You can also have one "global" image, so every time you will type pkg(1)
you will be using this default one.

So first create image and than use it.

With John Hawk we are working on the GUI tool for those things, so they
will be very easy to use.

If you want to see our work, which is not finished yet, so expect few
problems, you can try to get it from:

svn co  svn+ssh://[EMAIL PROTECTED]/svn/jds/ipsgui ipsgui

and than run script ipsgui/ipsgui

hope this helps
Michal Pryc

Anoop Rajendra wrote:
> Hi.
> 
> I was trying to understand the new Image based packaging system, and I
> had some questions.
> 
> I started a new pkg repository server on my local machine to serve out
> packages. It's running on localhost at port 10000. I had an SVR4 style
> package and I uploaded this package file by file and directory by
> directory one at a time (scripted, of course), using pkgsend Now I
> want to know how to access and install this package from the
> repository. I tried running
> 
> # pkg -s localhost install pkg:/SFWmypkg
> pkg: no matching packages found in catalog
> 
> # pkg -s http://localhost:10000/ list
> pkg: no matching packages found in catalog
> 
> So, no dice. What am I doing wrong?
> -anoop
> _______________________________________________
> pkg-discuss mailing list
> [email protected]
> http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

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

Reply via email to