Dan Price wrote:
On Fri 30 Oct 2009 at 01:57AM, Bob Doolittle wrote:
Hi,
The build 126 pkg(5) man page says about 'incorporate' depend actions:
If the value is 'incorporate', then the dependency is required,
but in addition, the version of the dependent package is
constrained. See 'Constraints and Freezing' below.
Of course the "Constraints and Freezing" section says "TBD" :)
However, I find that if I create a package with just "incorporate"
depend actions and install it, the packages specified in the depend
actions are not also installed.
Is this a bug in the man page or in pkg?
I believe the man page is wrong, please file a bug. For example,
'entire' incorporates every package in what used to be called "the WOS"
but doesn't require them to be installed.
Incoporations are typically used to tie packages together such that
they form a versioned "surface"-- as Liane has smartly put it-- an
incorporation should define what you test as a unit.
OK, but that doesn't address the rest of my issues. If incorporate
doesn't require packages, then what's the recommended way to express
both - that you want a specific (set of packages on a) versioned surface
to be installed? Is it also a bug that including both incorporate and
require dependencies in a package causes a "Duplicate actions"
exception? Or do we intend to require two separate packages - one
incorporation to express the versioned surface and another to require
the packages from that surface that you want? Why would we force this to
be two separate packages?
How does LiveCD address this? Where are the "require" dependencies that
cause the core OpenSolaris packages to become installed? What package
does it install to trigger the installation of the core packages?
-Bob
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss