On Tue, May 22, 2012 at 01:45:51AM -0700, Edward Pilatowicz wrote:
> hey all,
>
> so i've finally got the parallel linked images code ready.
> you can find the webrev here:
>
>     https://cr.opensolaris.org/action/browse/pkg/edp/pkg.pli.cr1/webrev/
>
> the webrev contains a up-to-date design doc which is probably a good
> place to start.
>
> if you're internal and you'd like to try out these bits the you can do
> so as follows:
>
> 1) install jsonrpclib
> ---8<---
> i386_p5p=/net/mcescher.us.oracle.com/export/ws/u.jsonrpc/jsonrpclib.i386.p5p
> sparc_p5p=/net/kodiak.us.oracle.com/builds/edp/ws/u.jsonrpc/jsonrpclib.sparc.p5p
> pkg install -I -g $(eval echo \$$(uname -p)_p5p) jsonrpclib
> ---8<---
>
> 2) setup PATH and PYTHONPATH to run the new version of pkg
> ---8<---
> ROOT_sparc=/net/kodiak.us.oracle.com/builds/edp/ws/pkg.pli.cr1/proto/root_sparc
> ROOT_i386=/net/mcescher.us.oracle.com/export/ws/pkg.pli.cr1/proto/root_i386
> PATH=$(eval echo \$ROOT_$(uname -p)/usr/bin:$PATH)
> PYTHONPATH=$(eval echo \$ROOT_$(uname -p)/usr/lib/python2.6/vendor-packages)
> ---8<---
>

o'yeah.  i forgot to mention step 3

3) when running pkg.1, set PKG_CONCURRENCY=n or use the "-C n" option.
If n >= 1 then n specifies the maximum number of images we'll update in
parallel.  if n is <= 0, then we'll update all images in parallel.  (n
defaults to 1.)
---8<---
PKG_CONCURRENCY=0 pkg update
pkg update -C2
---8<---

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

Reply via email to