Package Details: openafs-modules-dkms 1.8.7-1

Git Clone URL: (read-only, click to copy)
Package Base: openafs-modules-dkms
Description: Kernel module for OpenAFS (dkms)
Upstream URL:
Licenses: custom:"IBM Public License Version 1.0"
Conflicts: openafs<1.6.6-2, openafs-features-libafs, openafs-modules
Provides: openafs-modules=1.8.7
Submitter: Bevan
Maintainer: Bevan
Last Packager: Bevan
Votes: 17
Popularity: 0.009166
First Submitted: 2014-03-23 13:24
Last Updated: 2021-01-15 08:34

Latest Comments

« First ‹ Previous ... 2 3 4 5 6 7

totsilence commented on 2014-08-04 20:20

It seems that openafs doesn't build out of the box with 3.16:

/var/lib/dkms/openafs/1.6.9/build/src/libafs/MODLOAD-3.16.0-1-ARCH-SP/osi_vnodeops.c:815:19: error: ‘generic_file_splice_write’ undeclared here (not in a function)
.splice_write = generic_file_splice_write,
scripts/ recipe for target '/var/lib/dkms/openafs/1.6.9/build/src/libafs/MODLOAD-3.16.0-1-ARCH-SP/osi_vnodeops.o' failed

Bevan commented on 2014-04-02 21:53

PS: That weird negation in the cleanup command is indeed necessary to avoid returning an error code when there is no Makefile :)

Bevan commented on 2014-04-02 21:41


thanks for the input. I will have a look at those changes and include them in the next release.

Another tip for performance: It should be sufficient to use "make only_libafs". This will also be included in the next release if it withstands testing.

seidler2547 commented on 2014-04-02 21:21

Wow, finally, thanks a lot!

May I suggest these changes:

1) one can add "BUILT_MODULE_LOCATION[0]="src/libafs/MODLOAD-$kernelver-SP" after "BUILT_MODULE_NAME[0]" - makes it compile for a kernel that is not yet active and you can remove "&& mv src/libafs/MODLOAD-*/openafs.ko ." from MAKE[0] as well as remove "; rm -f openafs.ko" from CLEAN.

2) For better performance, I add -j8 to /etc/makepkg.conf, so I also add
export `grep -m1 '^MAKEFLAGS=' /etc/makepkg.conf`
before MAKE[0]=...
and write "... make ${MAKEFLAGS}".

So the final openafs.dkms would be like this:

Thanks again for the dkms, I've been waiting very long and had a self-hacked dkms.conf which wasn't as clean as yours :)