Very cool; thank you Dave! This makes building images easier and less error prone than using SysV packages and finalizer scripts. Out of curiosity, can we order additional repos if we're doing an ON nightly build mixed with an install nightly build (and thus still needing /dev too)?

                                                        -Clay

On Mon, 24 May 2010, Dave Miner wrote:

If you are not a developer for the Caiman project, you can ignore the remainder of this note.

With the integration of the fixes for bug 15784, the Caiman slim_source tree now builds pkg(5) packages automatically. The flag day for developers is that any changes to the objects delivered in packages must now update the manifests found in usr/src/pkg/manifests. The slim_source tree will temporarily be building both SVR4 and pkg(5) packages in parallel until we have implemented direct delivery to Release Engineering of our pkg(5) packages, so please ensure that any packaging changes are reflected in both usr/src/pkg and usr/src/pkgdefs until the SVR4 package build is removed.

Once you've built a repository as part of your source tree, you can start a repository service with:

/usr/lib/pkg.depotd -d $CODEMGR_WS/packages/$MACH/nightly-nd/repo.redist -p <port> &

To use packages from your repository in a Distribution Constructor image build, set your default authority as:

<pkg_repo_default_authority>
   <main url="http://localhost:<port>" authname="install-nightly"/>
</pkg_repo_default_authority>

and configure appropriate additional repositories (such as the /dev repository) using pkg_repo_addl_authority tags.

This is a direct adaptation of the OS/Net consolidation's package build structure; notes on the implementation can be found in usr/src/pkg/README.pkg.

Contact [email protected] with any questions.
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss

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

Reply via email to