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

Bug#773991: flash-kernel: Fails when mtdblock kernel module isn't loaded



On Mon, 2014-12-29 at 13:24 +0000, Ian Campbell wrote:
> On Fri, 2014-12-26 at 20:30 +0100, Uwe Kleine-König wrote:
> > I wonder if flash-kernel should be smart enough to
> > load the module itself.
> 
> I think it should.
> 
> I think all which is needed is to add "modprobe -q mtdblock" into the
> mtdblock function. I believe anything which uses an mtdblock device
> passes through that function to translate the name into a device node.
> 
> What do you think?

You also need 'udevadm settle' to wait for the device nodes to appear.

Ben.

-- 
Ben Hutchings
Anthony's Law of Force: Don't force it, get a larger hammer.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: