Bug#906873: Acknowledgement (linux-base: linux-version returns invalid information if gpg kernel signatures are present)
Here is a patch that fixes this issue.
I do not know perl, so this will need checking by someone who does, but
at least this works on my system.
On Tue, 2018-08-21 at 18:45 +0000, Debian Bug Tracking System wrote:
> Thank you for filing a new Bug report with Debian.
>
> You can follow progress on this Bug here: 906873:
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=906873.
>
> This is an automatically generated reply to let you know your message
> has been received.
>
> Your message is being forwarded to the package maintainers and other
> interested parties for their attention; they will reply in due
> course.
>
> Your message has been sent to the package maintainer(s):
> Debian Kernel Team <debian-kernel@lists.debian.org>
>
> If you wish to submit further information on this problem, please
> send it to 906873@bugs.debian.org.
>
> Please do not send mail to owner@bugs.debian.org unless you wish
> to report a problem with the Bug-tracking system.
>
--- /usr/share/perl5/DebianLinux.pm.original 2016-06-05 23:03:34.000000000 +0100
+++ /usr/share/perl5/DebianLinux.pm 2019-03-03 12:05:35.931812669 +0000
@@ -90,7 +90,9 @@
my $prefix = "/boot/$image_stem-";
for (glob("$prefix*")) {
- push @results, [substr($_, length($prefix)), $_];
+ if ($_ =~ /^(?!(.+\.sig$))/) {
+ push @results, [substr($_, length($prefix)), $_];
+ }
}
return @results;
}
Reply to: