To get new bug fixes not yet in a production release, to try out a newer release, or simply because the newest OpenAFS has not yet been packaged for your version of Fedora/RHEL, you may with to build your own OpenAFS RPMs. This, of course, first requires a SRC rpm. SRC RPMs can be generated from the OpenAFS source.
You will need devel libraries and tools installed on your system for OpenAFS to build successfully.
Do a "git clone" of the OpenAFS source code repository:
git clone git://git.openafs.org/openafs.git
$ git branch -r
origin/HEAD -> origin/master
origin/disconnected
origin/instrumentation
origin/master
...
origin/openafs-stable-1_6_9-branch
origin/openafs-stable-1_6_x
As of the time of this writing, you will generatlly want the "origin/openafs-stable-1_6_x" branch, since 1.6.x is the current stable version of OpenAFS.
If you would rather checkout a tag, list the tags with:
$ git tag -l
and checkout a particular tag with:
$ git checkout tags/tagname
]$ cat .version
openafs-devel-1_6_11pre1_1
Note that the dots are replaced by underscores.
Rename your "openafs" directory to correspond to the version. So, with the above version, my "openafs" directory is now named: openafs-1.6.11pre1.1
Now, you will need to run the "regen.sh" script in the top level of your openafs directory:
openafs-1.6.11pre1.1]$ ./regen.sh
Once completed, cd up one directory and create two tar files, named with your openafs version, one containing the source and one containing the documentation:
tar cjvf openafs-1.6.11pre1.1-src.tar.bz2 openafs-1.6.11pre1.1/ --exclude=openafs-1.6.11pre1.1/doc --exclude=openafs-1.6.11pre1.1/.git
tar cjvf openafs-1.6.11pre1.1-doc.tar.bz2 openafs-1.6.11pre1.1/doc
Now, cd to the src/packaging/RedHat subfolder:
pwd
/home/user/Downloads/openafs/openafs-1.6.11pre1.1/src/packaging/RedHat
You may also want to use visual panels to communicate related information, tips or things users need to be aware of. |
Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.
|