As discussed in https://defect.opensolaris.org/bz/show_bug.cgi?id=11183
and previous threads, nvidia currently maintains multiple branches of their
graphics drivers, each covering a different subset of hardware. They update
along all the branches as necessary to keep up with the ABI changes in the
X server, as well as to fix common bugs.
So far, the IPS repos have always included just the latest branch, covering
new cards, but forcing users to uninstall and manually pkgadd the SVR4
packages if they have one of the older devices requiring the legacy driver.
Previously we've discussed handling this with constraints so that a user
could say "Never upgrade my pkg:/driver/graphics/nvidia past build 100"
if they want to stay on the version 96.* legacy branch.
What if instead we simply delivered multiple packages, with depend type=exclude
to avoid multiple installation (since they will have clashing files in
the same paths, like /kernel/drv/nvidia) - users with older cards could then
uninstall pkg:/driver/graphics/nvidia and instead install
pkg:/driver/graphics/nvidia-legacy-G4x. When we deliver ABI changes, then
instead of having to manually pkgrm the old SVR4 package and pkgadd the new
one, they'd just get the updated version from pkg image-update with the rest
of the WOS.
Are exclude dependencies sufficient/ready to allow this?
--
-Alan Coopersmith- [email protected]
Oracle Solaris Platform Engineering: X Window System
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss