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

Re: upgrading from rc kernel [patch?]



Tue, May 24, 2011 5:18:21 UTC Ben wrote: 
> On Tue, 2011-05-24 at 07:35 -0700, Will Set wrote:
> > Could adding a 0 to  the rc kernel name reduce kernel upgrade issues,
> > without causing other  issues?
> > 
> > - 2.6.39-rc4-686-pae  
> > +  2.6.39-0rc4-686-pae
> 
> The linux-version command can be used for sorting  kernel version
> numbers, if that's what you are concerned  about.

After switching the debian pre release kernel names from trunk to rc,
I read in an email from the kernel team, iirc
"the rc naming convention is also problematic" .

I notice the rc kernels initramfs images being updated 
after a newer kernel has been installed.

$ kernel-version list --paths
2.6.39-1-686-pae /boot/vmlinuz-2.6.39-1686-pae
2.6.39-rc4-686-pae /boot/vmlinuz-2.6.39-rc4-686-pae
2.6.39-rc5-686-pae  /boot/vmlinuz-2.6.39-rc5-686-pae
2.6.39-rc6-686-pae  /boot/vmlinuz-2.6.39-rc6-686-pae
2.6.39-rc7-686-pae  /boot/vmlinuz-2.6.39-rc7-686-pae


so, whenever update-initramfs -u 
is called, initrd.img-2.6.39-rc7-686-pae is updated.

Adding a 0 to the rc name[s] 
/var/lib/initramfs-tools/2.6.39-0rc*-686-pae
fixes that updating issue on my installs.
> 
> Ben.


Reply to: