Hi Michal. Thanks for the info. I'm having a bit of trouble with the solaris.py script that can upload SVR4 packages to the IPS server.
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. 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? -anoop On 12/8/07, Michal Pryc <[EMAIL PROTECTED]> wrote: > 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
