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

Bug#770394: initramfs-tools: Sorting rc versions



Control: severity -1 normal

On Thu, 2014-11-20 at 23:47 +0100, Javier Barroso wrote:
> Package: initramfs-tools
> Version: 0.118
> Severity: wishlist
> 
> Dear Maintainer,
> 
> 
>    * What led up to the situation?
> Running update-initramfs -u did not choose the latest installed kernel
> version.
> 
> dpkg --compare-versions doesn't play well with current kernel version
> scheme
> 
>    * What exactly did you do (or not do) that was effective (or
>      ineffective)?
> Run update-initramfs -u
> 
>    * What was the outcome of this action?
> update-initramfs chose 3.16-rc5-amd64
> 
>    * What outcome did you expect instead?
> update-initramfs would chosen 3.16-3-amd64 version
> 
> I'm attaching a possible patch. Maybe changing version scheme to -0-rc
> would be more dpkg compatible behaviour, so this patch is not needed.
> 
> I don't think that teaching dpkg --compare-version about this issue is a
> better solution. (I think dpkg maintainers would complaint about)
[...]

It should really use the linux-version command from linux-base.  Thanks
for pointing this out.

Ben.

-- 
Ben Hutchings
Man invented language to satisfy his deep need to complain. - Lily Tomlin

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


Reply to: