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

Bug#615601: unable to override hw-detect/modprobe_error with preseed or kernel commandline



Thomas Mieslinger wrote:
> If, for example "usb_storage.blacklist=yes", has been specified on
> the kernel commandline, I was unable to override the resulting
> hw-detect/modprobe_error error with preseed or a parameter passed on
> the kernel commandline.
> 
> I've deleted db_get hw-detect/modprobe_error from bin/hw-detect but
> thats not really a workaround.
> 
> How do I disable usb_storage AND install without manual intervention?

So, cdebconf always displays errors. They can't be preseeded away:

    /* Always display error messages */
    q = db->methods.get(db, name);
    if (q != NULL && q->template != NULL && q->template->type != NULL && strcmp(q->template->type, "error") == 0)
    {
        question_deref(q);
        return DC_YES;
    }

This was done in 2004 by Denis Barbier with no justification given.
I'm tempted to revert that part of 80bed2cd86b0b31e4d36525d5357ceb7abc1b80f.

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature


Reply to: