Craig Mohrman wrote:

> When renaming a package can I specify the previous build
> in the version strings.
> 
> Take my apache-php5.p5m.
> 
> set name=pkg.fmri \
>     value=pkg:/web/server/apache-22/module/[email protected]
>                                                               ^^^^^^^^^^^^^^
> set name=pkg.renamed value=true
> set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
> depend fmri=web/server/apache-22/module/[email protected] \
>                                                             ^^^^^^^^^^^^^^
>     type=require
> 
> Can I specify 0.175.1.0.0.16 and then putback into what WILL be build 17
> once the gate closes and is tagged with 17?

No. Not on the dependency action, because apache-php52 won't exist in a
build 16 form.  And not on the pkg.fmri, because there will already be an
[email protected] (albeit with a .0 and an earlier
timestamp) which will be indistinguishable from the one you publish for 17
in terms of the incorporation.  That means that the build 16 userland
incorporation will gladly allow either the build 16 or the build 17 version
of apache-php5, as will any later version of userland-incorporation.  Hence
given that the build 16 version has file conflicts with apache-php52, on
the one hand, and that the build 17 version will be empty and yet allowed
to be installed as if it were the real thing on build 16, that's bad all
around.

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

Reply via email to