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.

in particular, i'm trying to figure out why the "mirroring repositories" doc talks about deploying a second instance of the packaging server?

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.

is the presumed default set-up as follows:

 1. create directory:
    # mkdir /var/pkg.repo

 2. create repository:
    # pkgsend -s file:///var/pkg/repo create-repository

 3. mirror existing packages:
    # rmdir /var/pkg/repo/file
    # ln -s /var/pkg/download /var/pkg/repo/file

 4. start pkg server:
    # svcadm enable pkg/server

or is there something else to consider? is the read-only nature of the "second instance" mentioned in the document above relevant [still] ?

simply starting the pkg/server service creates the /var/pkg/repo directory & structure, but not actual data...

any suggestions?

p


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

Reply via email to