Bug#906873: linux-base: linux-version returns invalid information if gpg kernel signatures are present
Hello,
I have had the same issue, and I also went forth and patched
Linux base to ignore the .sig files in the boot directory.
My patch is a little bit simpler however:
Index: linux-base/lib/DebianLinux.pm
===================================================================
--- linux-base.orig/lib/DebianLinux.pm
+++ linux-base/lib/DebianLinux.pm
@@ -88,6 +88,7 @@ sub image_list {
my @results;
for (glob("/boot/vmlinu[xz]-*")) {
+ next if /.*\.sig$/ig;
push @results, [substr($_, length("/boot/vmlinu?-")), $_];
}
return @results;
Regards,
Florian Stinglmayr
Reply to: