On 10/28/10 16:41, Alan Coopersmith wrote:
I'm working on obsoleting some X driver packages that were split
out of our mega-driver package in the X refactoring, and a question
came out of the code review.   For reference, the current webrev is:

        http://cr.opensolaris.org/~alanc/6991716/

In the beginning, all these drivers were part of SUNWxorg-graphics-ddx.
In 133, that was renamed to pkg:/x11/server/xorg/driver/xorg-misc.
In 144, that was split into per-driver packages, and xorg-misc became
a "renamed" pkg that depended on the new ones:

http://src.opensolaris.org/source/xref/x-cons/xnv-clone/pkg/legacy/x11-server-xorg-driver-xorg-misc.mf

So when I remove some of the new ones in 153, should I be updating
the xorg-misc manifest to remove those dependencies?   If so, what
builds/versions should I be listing in the new xorg-misc?
[email protected],5.11-0.144 or @0.5.11,5.11-0.153?

What versions of the driver packages that remain should be shown?
Still the 143 versions or now the 153 versions?


Aren't obsoletions fun-filled :-)?

If you obsolete one of the packages that is the result of a split,
you need to republish the package that defines the split so that
there's no require dependency on an obsolete package, which will
prevent upgrade.

You will need to republish x11-server-xorg-driver-xorg-misc.mf
at the current build number.  It needs to have require dependencies
on the remaining driver packages; the build number doesn't actually
matter, but some sanity may be preserved if you depend on the packages at the current build number (unless you've renamed them :-) since the split)

- Bart

--
Bart Smaalders                  Solaris Kernel Performance
[email protected]       http://blogs.sun.com/barts
"You will contribute more with mercurial than with thunderbird."
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to