[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: problem with /etc/kernel scripts



On Sun, Apr 3, 2011 at 2:31 PM, Harald Dunkel wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi Ben,
>
> On 03/31/11 15:22, Ben Hutchings wrote:
>> On Thu, 2011-03-31 at 10:59 +0200, Harald Dunkel wrote:
>> [...]
>>> Of course I understand that this is highly complex. Maybe it would help to
>>> introduce some scheme to register event handlers to run after the installation
>>> of all packages has been completed?
>> [...]
>>
>> We had an extensive discussion defining a policy for the kernel and
>> initramfs builder hooks only last year.  It's a little late to comment
>> now.
>>
>
> Two points about this:
>
> - - this is not a comment. Check my first message in this thread:
>  Something tries to build a kernel module before the headers are
>  installed. This is a bug. See #574758.
> - - last year was Squeeze. Now we are working on Wheezy. In 12 months
>  when it is close to code freeze it will be too late. Today is the
>  right time to clean this up.
>
> I would be glad to help.

What is the problem?  If the modules are built in the kernel postinst,
then the build will be skipped in the headers postinst (even though
the same build command is issued in both locations, its smart enough
not to rebuild when modules already exist).

If there really is a problem, a patch that addresses the issue would
be the ideal way to help.

Best wishes,
Mike


Reply to: