On Thu, Mar 19, 2009 at 03:44:57PM -0700, Alan Coopersmith wrote: > Danek Duvall wrote: > > The problem I see with /platform is that finding dependencies that live > > there requires that you know what platform you'll be linking against at > > runtime, but there's nothing in the (platform-generic) kernel modules that > > lets you know whether you should find bits in, say, /platform/i86pc or > > /platform/i86xpv. > > Right - with SVR4 packages, my code checks the ARCH in pkginfo - if it's got a > arch.platform pattern, it uses that platform, otherwise assumes sun4u for > sparc, i86pc for i386. Only a few generic modules seem to have dependencies > on platform modules though - many more are the other way around.
Ah, dependencies between platform-specific modules, not between generic and specific (in either direction). Yes, that makes sense. We should add that. Danek _______________________________________________ opensolaris-code mailing list opensolaris-code@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/opensolaris-code