On 05/14/12 15:42, Alan Coopersmith wrote:
On 05/14/12 03:26 PM, Brad Hudson wrote:
Can someone explain how to correctly map Solaris 10 packages to Solaris 11
in an automated fashion?
There's not a fully one-to-one mapping - we did a lot of refactoring as well.
The most fully automated way would be to search for the files you're looking
for from each package.
The problem is that the output returned from "pkg info -r<pkg>" is not
consistent for all packages in the "Renamed to:" field. Some packages list
multiple packages and some list none at all even though the "set
name=pkg.renamed value=true" is set in their file (and in "pkg contents -mr
<pkg>). Also, when multiple packages are listed in the "Renamed to:" field,
it can create a seemingly endless loop for trying to get the true name of
the new package.
Listing multiple packages happened when packages got split, which happened
in some cases - in other cases packages got merged, and in a few both happened.
And in some cases, no equivalent exists for the old package. Many
components were removed.
-Shawn
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss