2.6.18, so fall back on looking in config/kernel.release. Thanks to
Marcus Watts for the patch.
openafs (1.4.2~fc4-3) unstable; urgency=low
* Apply upstream patch to fix klog segfaults. (Closes: #390940)
+ * The UTS_RELEASE string is no longer found in linux/version.h in
+ 2.6.18, so fall back on looking in config/kernel.release. Thanks to
+ Marcus Watts for the patch.
- -- Russ Allbery <rra@debian.org> Tue, 3 Oct 2006 17:09:23 -0700
+ -- Russ Allbery <rra@stanford.edu> Wed, 4 Oct 2006 11:52:20 -0700
openafs (1.4.2~fc4-2) unstable; urgency=low
unless ($ksrc && open (VERSION, "$ksrc/include/linux/version.h")) {
exit 0;
}
+my $found;
my $line = <VERSION>;
if ($line =~ /"(.+)"/) {
print "$1\n";
+ $found = 1;
+}
+exit 0 if $found;
+unless (open (VERSION, "$ksrc/include/config/kernel.release")) {
+ exit 0;
+}
+if ($line = <VERSION>) {
+ print "$line";
}
exit 0;