Re: Discussion: New feature for source packages
On Wed, Sep 16, 2009 at 01:11:07AM +0200, Luca Niccoli wrote:
> 2009/9/16 Russ Allbery <rra@debian.org>:
>
> > If there were a document of how to do automated module builds using
> > triggers or a kernel hook, I'd be happy to try that as well.
>
> I tried to set up a kernel hook with the script I attached before, but failed.
> If run by the kernel package postinst, m-a can't get the lock on
> /var/lib/dpkg/lock, since it's already being used by the package
> manager installing the kernel, so it either fails the "prepare" stage
> or can't install the compiled packages.
>
> The same would go with triggers, I guess.
Wasn't there a special way to defer a package installation within
maintainer scripts ? Or is my recollection bad ?
Mike
Reply to: