On 01/23/10 10:59 PM, Peter Lees wrote:
Hello folks,
i have opensolaris 2010.02 dev release installed on a system and want to
set it up as a pkg repository, mostly to save on bandwidth for updates
of various XVM builds.
the instructions at
<http://hub.opensolaris.org/bin/view/Project+pkg/Mirroring> seem a
little out-of-date & i wondered if someone could point me to more
current information.
No, they're current.
in particular, i'm trying to figure out why the "mirroring repositories"
doc talks about deploying a second instance of the packaging server?
The first instance (the default one) is for publishing (read/write) and
is pkg/server:default.
The second instance (that the document is referring to) is to run an
instance of the pkg.depotd server that is in readonly mode and is
created as pkg/server/mirror.
it appears that on my snv_126 opensolaris system i have various
/var/pkg/* , but the pkg.depotd default repository /var/pkg/repo doesn't
exist.
Correct; the repository directory is created on startup or when you use
the pkgsend create-repository subcommand. However, note that the doc
you linked above suggests /export/pkg instead of /var/pkg/repo.
...
or is there something else to consider? is the read-only nature of the
"second instance" mentioned in the document above relevant [still] ?
Yes, see above.
simply starting the pkg/server service creates the /var/pkg/repo
directory & structure, but not actual data...
any suggestions?
The instructions can be followed exactly. They are current as far as I
can see.
Cheers,
--
Shawn Walker
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss