Package: kernel-patch-squashfs
Version: 1:2.1r2-0.1
Severity: important
Tags: patch sarge
Additional installed package: kernel-source-2.6.8
With this configuration, kernel-patch-squashfs fails to apply, claiming
"no matching kernel version found" (quoting from memory, actual wording
is almost certainly different).
Reproduce by:
* Cleanly installing kernel-source-2.6.8
* Installing kernel-patch-squashfs
* Running /usr/src/kernel-patches/all/apply/squashfs
(is this the right way to install a kernel patch at all?
I found no instructions for doing it without kpkg.)
I believe this is because kernel-patch-squashfs is prepared to patch
against kernel 2.6.8.1, but Debian numbers the kernel as 2.6.8 (and has
the 2.6.8.1 patches applied in one of its subreleases - the actual
kernel-source package revision is 2.6.8-16sarge1).
I fixed the problem by:
* editing /usr/src/kernel-patches/all/apply/squashfs,
* looking for the line KVERSIONS=, and
* replacing the mention of 2.6.8.1 with 2.6.8.
The patch then applied with no errors or warnings, and squashfs seems to
work (though I haven't tested extensively).
Of course, one could also set KPATCH_squashfs=2.6.8.1, but that's
something that most people won't know to do.
(I didn't until I re-read the docs when preparing this bug report. Maybe
it would be a good idea to open a bug in whatever package was used to
prepare kernel-patch-squashfs, to request that the error message that
reports the kernel version mismatch should hint at the KPATCH_<package>
environment variable.)
Regards,
Jo
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]