On Mon 14 Feb 2011 at 11:06AM, Richard Lowe wrote:
> You wanted to use src/util/publish.  See the Makefile, and merge.py
> (which Bart is apparently working on turning into a real, published,
> tool)

Thanks for the hint - I think I now have a working merged repo.  It was
essentially the following, assuming the builds were done.

$ top=/builds/.../pkg-gate
$ pkgrepo create $repodir/pkg5-nightly
$ pkgrepo set -s $repodir/pkg5-nightly publisher/prefix=pkg5-nightly
$ ln -s /net/sparc/builds/.../pkg-gate/packages/* \
        $top/packages
$ SPARC_REPO=file://$top/packages/sparc/repo \
        i386_REPO=file://$top/packages/i386/repo make -e merge
$ for d in ../../../proto/merge/* ; do ./pkg_publish $d \
        $repodir/pkg5-nightly ; done
$ pkgrepo -s $repodir/pkg5-nightly rebuild
$ /usr/lib/pkg.depotd -d $repodir/pkg5-nightly -p 10457 ...

client$ pkg set-publisher -g http://$host:10457/pkg5-nightly \
        -G $oldurl pkg5-nightly

-- 
Mike Gerdts
Solaris Core OS / Zones
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to