On 04/ 9/10 12:49 PM, Adam Leventhal wrote:

On Apr 9, 2010, at 10:26 AM, Shawn Walker wrote:

On 04/ 9/10 11:14 AM, Adam Leventhal wrote:
What's the output of "pkg version" ?

38fe0f4bd5ca

I this version of the pkg tools by following the flag day mail and downloading 
this:

   http://nana.sfbay/products/osol_dev/133/svr4_ips_packages_i386.zip

Ah, ok.  In 133, repository configuration was temporarily changed to require 
the 'repository.origins' property to be set in your $REPO_DIR/cfg_cache file.

So, in your case, it should be:

[repository]
origins = http://localhost:12345

This requirement was removed in 134 (the requirement was well intentioned but 
there are some use cases it didn't account for).

Where can I find an updated svr4 package?

I honestly don't know as I don't use them. As far as I know, past 133, SVR4 packages aren't delivered anymore.

Your alternative would be to check out a copy of the pkg(5) gate and then perform a 'make install; make packages' which will produce a set of SVR4 packages for you for the pkg(5) system.

You can find out where the gate is and other information you'll need to know to build it here:

http://hub.opensolaris.org/bin/view/Project+pkg/WebHome
http://hub.opensolaris.org/bin/view/Project+pkg/devinfo

You may also find this helpful:

http://hub.opensolaris.org/bin/view/Project+pkg/IPS+for+Consolidations

...
4. How is the depot server on opensolaris.org invoked?

Via SMF.  See "man pkg.depotd" for more information about what SMF properties 
are available.

What I mean is: how is that particular instance configured, what properties are 
set, etc?

It wouldn't be helpful -- it uses a specialised configuration for a reverse proxy load-balanced environment.

There's a default instance you can use as a template that gets installed with pkg(5) called application/pkg/server:default.

If you look at the man page for pkg.depotd(1m), it shows what properties you might want to change.

The short answer is that you'll want to set to pkg/inst_repo for the instance to point at whatever path contains the repository you want to serve.

You can also reference these two blog entries for more information on configuration:

http://blogs.sun.com/observatory/entry/local_repository_mirror
http://blogs.sun.com/observatory/entry/repo_on_a_stick

Cheers,
-Shawn
_______________________________________________
install-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/install-discuss

Reply via email to