[OpenAFS] installing on CentOS

Simon Wilkinson sxw@inf.ed.ac.uk
Wed, 6 Jan 2010 11:48:53 +0000


> You can try compiling your own kmod RPMs, but I can't recall the  
> invocation to build it.

rpmbuild -ba --define "fedorakmod 1" \
	     --define "build_modules 1" \
	     --define "build_userspace 0" \
	     --define "osvers el5" \
	     openafs-1.4.11-1.src.rpm

will build a kernel module for the currently running kernel.

> Another problem is you'll have to deal with RPM signatures (i.e. add  
> your own, or tell yum to ignore them or trust your key).

You don't need signed rpms for yum, certainly not in RHEL. It will  
tell you that it's installing an unsigned RPM, but will happily go  
ahead and do so anyway.

BTW: The build system is now back up and running.

Cheers,

Simon.