Hey folks,

I'm trying to build an install image using the IPS tools. I've built my
repo as part of running nightly and stood up a depot:

$ /usr/lib/pkg.depotd -d pkgarchive-nd/repo.redist -p 12345

I try to perform a 'pkg create-image', but that fails:

$ pkg image-create -f -p http://localhost:12345 /var/tmp/root
pkg image-create: The package repository at http://localhost:12345 does not 
provide publisher configuration information or the information provided is 
incomplete.

So then I did the image-create using the opensolaris repo server to see if I
could move onto the next step. I was able to do the image-create, but pkg
fails as follows:

$ pkg -R /var/tmp/root set-publisher -g http://localhost:12345 on-nightly
pkg set-publisher: The origin URIs for 'on-nightly' do not appear to point to a 
valid pkg server.
Please check the server's address and client's network configuration.
Additional details:

Unable to contact valid package server: http://localhost:12345/
Encountered the following error(s):
Transport errors encountered when trying to contact depot server.
Reported the following errors:
http protocol error: code: 504 reason: Gateway Timeout
URL: 'http://localhost:12345'. (happened 4 times)


I'm not wed to a specific methodology: I just want to take the repo[1] that's
built as part of nightly, and lay down the bits using pkg(1) into a directory.


It would be useful to understand how the depot server on opensolaris.org is
configured. I couldn't find that documented anywhere, apologies if I missed it.


The distro constructor seems like something that would be potentially useful
here, but a) it's likely more than I want or need and b) I can't seem to get
it:

$ hg clone ssh://[email protected]/hg/caiman/distro_constructor
remote: abort: There is no Mercurial repository here (.hg not found)!
abort: no suitable response from remote hg!

Any help would be appreciated. Thanks.

Adam

[1] actually repos plural, but I'd be happy to get one first and then the
other.

--
Adam Leventhal, Fishworks                        http://blogs.sun.com/ahl

_______________________________________________
on-ips-dev mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/on-ips-dev

Reply via email to