Bug#1043131: Solution for kernel 6.5 with openafs 1.8.10-1 in debian

2023-12-24 Thread Benjamin Kaduk
Hi Gergely,

On Wed, Dec 20, 2023 at 04:26:55PM +0100, Gergely Riskó wrote:
> Hey all,
> 
> Yes, OpenAFS is always a pain to work with both on the server and the
> client side. :(
> 
> This time I think the client installation is harder than usual, we
> have to apply 5 patches.

Yes, there's a lot this time.
Thanks for putting together your stack -- I would have missed DirEntryFlex in
my first pass and thus panic'd my machine during testing.

-Ben



Bug#1043131: Solution for kernel 6.5 with openafs 1.8.10-1 in debian

2023-12-20 Thread Gergely Riskó
Hey all,

Yes, OpenAFS is always a pain to work with both on the server and the
client side. :(

This time I think the client installation is harder than usual, we
have to apply 5 patches.

I went through the gerrit and the mailing lists, collected the
patches, changed them, that they don't conflict on apply and renamed
them to be compatible with the debian/patches subdirectory.

Usage instructions:
  - download all the patches
  - download openafs source with apt-get source openafs
  - put the files in debian/patches
  - optional: use dch -i to increase the version number (e.g. to
-1.1), so you can see that this is a local package and apt-get doesn't
redownload it from the internet
  - use dpkg-buildpackage -us -uc -rfakeroot

The resulting openafs-modules-dkms.deb will now compile with the
shipped debian 6.5 linux kernel.

Hopefully openafs 1.8.11 is coming out soon too, and that should have
support up to 6.7.

Cheers,
Gergely


0100-build-fix-fb31d299
Description: Binary data


0103-build-fix-0e06eb7
Description: Binary data


0101-build-fix-c4c1689
Description: Binary data


0102-build-fix-7437f4d
Description: Binary data


0104-oops-fix-e2ec16c
Description: Binary data