[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opensolaris-code
Subject:    Re: [osol-code] Kernel module/package dependencies
From:       Danek Duvall <danek.duvall () sun ! com>
Date:       2009-03-19 23:09:23
Message-ID: 20090319230923.GL842169 () jurassic-x4600 ! Eng ! Sun ! COM
[Download RAW message or body]

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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic