-nvidia upgrade issues
Steve Langasek
steve.langasek at ubuntu.com
Thu Nov 5 13:46:47 GMT 2009
On Thu, Nov 05, 2009 at 07:35:50AM -0600, Mario Limonciello wrote:
> > I wonder if a dpkg trigger wouldn't help here for lucid (not for SRU): each
> > dkms module package registers its interest in an appropriate file pattern,
> > and at the end of the corresponding dpkg run the trigger fires to try to do
> > the module compilation? This would have the advantage that dpkg would then
> > have information about exactly which dkms packages failed to build, but I
> > haven't thought this through completely to be sure it's worth doing and
> > doesn't have any major design pitfalls.
> Reading through your idea it tentatively sounds like a good way to help
> things out. It doesn't even need to be a pattern though. The
> dkms_autoinstaller script is able to query what has and hasn't been built
> yet, and try to build things. So if a dpkg trigger is set up to just call
> it at the end as necessary, that would work too.
It does have to be either a pattern, or an explicit trigger invocation from
the kernel package maintainer script; those are the ways dpkg knows which
triggers need to be called.
http://www.dpkg.org/dpkg/Triggers
And a file pattern would be preferable if it's possible, because that
doesn't require further coordination regarding the contents of the kernel
packages' maintainer scripts.
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer http://www.debian.org/
slangasek at ubuntu.com vorlon at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: Digital signature
Url : https://lists.ubuntu.com/archives/ubuntu-devel/attachments/20091105/17275648/attachment.pgp
More information about the ubuntu-devel
mailing list