Darren J Moffat wrote:
On Wed, 2005-11-23 at 12:39, Joerg Schilling wrote:

Hi,

if I like to create a SchilliX that is able to deal with
Blastwave packages, I would need to populate the SUNW* related
package database for a SchilliX installation.

Is there a simple way to do this without really running pkgadd?

Or is there a way to create complete SUNW* packages from the
ON sourcetree and then run "pkgadd -R <root-path>" for the SchilliX
template directory?


The -p flag to nightly(1) creates package for everything in the
ON gate that is shipped - NOTE what ends up in the proto area
and what gets bfu'd on to your machine is a superset of that.
The package definition files are in $SRC/pkgdefs, you should be
able to run make install in subdirs in there to build specific
packages.

I haven't tried that in a pure OpenSolaris source tree yet.


It doesn't fully work (as is mentioned in the release notes), some packages you can build without changing anything. Several more build if you add:
$(ON_CLOSED_BINS)/root_$(MACH)
to the list of roots given to the -r option to the pkgmk invocation in $SRC/pkgdefs/Makefile.targ's pkg target to make it pull binaries out of closed-bins.

The others left that don't build contain binaries that are neither present in the source or closed binaries. For a pure OpenSolaris system, where those binaries can't be distributed anyway, stripping them out of the package prototypes may work "well enough", but I'm not certain.

By my (possibly inaccurate) count: of the 317 total packages in $SRC/pkgdefs, 201 build after the change to Makefile.targ.
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to