Michael Corcoran wrote:
> Since some of us may not know how to use the file:// based repositories,
> can you give an example of how you upgrade a system to your development
> bits using file://
> 
> I'm assuming instead of onu -d <path> you would use something like pkg
> install file://<path>/<pkg>
> and basically you'd have to supply all of the packages which you have
> modified in order to test your new bits.

I simply use onu as described for http:// repositories but replacing the
http URL with a file one - though I'm doing it with the X gate packages,
the process should be just the same for ON gate packages:

  Installing from a network repository:

  onu -O -u http://xserver.sfbay.sun.com:10000/ -U x-nightly -t X144

  Installing from a filesystem base repository:

  onu -O -u
file:///net/xserver.sfbay.sun.com/export/x-re/pkgs/X_NV_milestone/x86/B144/repo
-U x-nightly -t X144

Obviously for ON you'd not want "-U x-nightly" (probably remove to use the
on-nightly default unless you've changed it in your workspace / project gate).

The repo path for a gate you built would be something like:
file:///.../your-onnv-clone/packages/i386/nightly-nd/repo.redist/

(Remember that file:/// should have three slashes - two for the "file://" prefix
and the third to start the filesystem path.)

-- 
        -Alan Coopersmith-        alan.coopersm...@oracle.com
         Oracle Solaris Platform Engineering: X Window System

_______________________________________________
on-discuss mailing list
on-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/on-discuss

Reply via email to