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

Re: Error flashing initrd after kernel update



Martin Michlmayr wrote:

> * Frans Pop <elendil@planet.nl> [2008-08-06 01:59]:
>> It's not just lvm2. I think it must be a change in initramfs-tools as I
>> also get an installation failure when installing current testing and 
that
>> still installs 2.6.25.
> 
> Strange.  I did an installation the other day (without LVM) and it
> worked fine.

Hmm. I did not use LVM for the install itself, but did have a pre-existing 
LVM partition that because of recent changes in partman was now activated 
by default. The partition was not used at all, but possibly lvm2 still 
got installed because of that. I'll have to check.
 
> Anyway, I think we should go with MODULES=dep on QNAP devices and the
> HP mv2120.  Since we're updating the initramfs in flash-kernel, I
> think I'll simply add a sed s/MODULES=most/MODULES=dep/ there.  Do you
> think that's okay, or do you have a better way?

That would be a policy violation (thou shalt not mess with conffiles of 
other packages). The correct solution is to add a configuration file in 
the /etc/initramfs-tools/conf.d/ dir that overrides the value in 
initramfs.conf.

>> Minor issue: the flash-kernel udeb does not clear its progress bar on
>> error.
> 
> Do we need a 'db_progress STOP' in the error function?

Yes, probably.

Cheers,
FJP

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


Reply to: