On Mon, 8 Aug 2005, Matt Ingenthron wrote:
>
> Dennis Clarke wrote:
>
> > (snip...)
> >
> >These are the sort of things that we need to address.  I am working on
> >a new Subversion repository for all the software at Blastwave right
> >now.  If we also implement a build system then we can move towards a
> >source set that excludes SUNW dependencies that are currently not open
> >and gradually work towards a better way to build a complete OS which
> >will include all these other software packages.  A grand leap I know,
> >and certainly not about to happen overnight.  Any step taken today
> >towards an open build system would be a step in the right direction.
> >
> I'd be disappointed if there were a significant amount of further
> separation from SUNW packages.

Hi Matt.

Me too, but I think Dennis and Joerg are saying that, in theory, any
build system should be able to generate an exact duplicate of any
binary SUNW packages for which Sun has documented the build parameters
and patches used. (And assuming the original sources are available, of
course.)

To illustrate, let's suppose Solaris 10 (or Nevada) included
open-source utility "foo", shipped as binary package "SUNWfoo". (Note
I'm assuming here that the Sun consolidation team that owns "SUNWfoo" has
made available the build parameters, patches, etc. for generating it.)

- For the SPS (SchilliX's) build system:
   1. Translate the build parameters (that Sun used to generate
      SUNWfoo) into an SPS (aka src-get) "wrapper makefile".
   2. Put copies of the patches (that Sun used to generate SUNWfoo)
      into the appropriate directory.
   3. Put a copy of foo.tar.bz2 (the original source from
      the original site) in the appropriate directory.
   4. Run (I think): src-get compile foo
   5. Use pkgmk(1), prototype(4), etc. to create SUNWfoo. (I'm not sure
      if this step has been automated yet.)

- For the CBE (JDS team's) build system:
   1. Translate the build parameters into a CBE spec file
   2. (Same as above -- copy the patches to appropriate dir.)
   3. (Same as above -- copy foo.tar.bz2 to appropriate dir.)
   4. Run: pkgbuild -bi SUNWfoo.spec
      ('pkgbuild -bi' patches, compiles, creates SUNWfoo binary
      package, and installs it.)

- For the TWW build system:
   1. Translate the build parameters into foo/sb-db.xml
   2. (Same as above)
   3. (Same as above)
   4. Run sb foo/sb-db.xml
   5. [ Not sure if the above creates SUNWfoo and
      installs it or if another step is needed. ]

Eric
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to