From 4431db5af6131e695ecb95431fa59cf036935b61 Mon Sep 17 00:00:00 2001 From: Andy Neff Date: Sun, 12 Jul 2015 14:25:56 -0400 Subject: [PATCH] Docs update --- docs/linux-build.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/docs/linux-build.md b/docs/linux-build.md index f39429e5..1057a244 100644 --- a/docs/linux-build.md +++ b/docs/linux-build.md @@ -17,3 +17,25 @@ A debian package can be built by running `dpkg-buildpackage -us -uc` from the root of the repo. It is currently confirmed to work on Debian jessie and wheezy. On wheezy it requires `wheezy-backports` versions of `dh-golang`, `git`, and `golang`. + +## Building an rpm + +An rpm package can be built by running ```./rpm/build_rpms.bsh```. All +dependencies will be downloaded, compiled, and installed for you, provided +you have sudo/root permissions. The resulting ./rpm/RPMS/x86_64/git-lfs*.rpm +Can be installed using ```yum install``` or distributed. + +-CentOS 7 - build_rpms.bsh will take care of everything. You only need the +git-lfs rpm +-CentOS 6 - build_rpms.bsh will take care of everything. You will need to +distribute both the git-lfs rpms and the git rpms, as CentOS 6 does not +have a current enough version available +-CentOS 5 - build_rpms.bsh will take care of everything. You only need the +git-lfs rpm. When distributing to CentOS 5, they will need git from the epel +repo +``` +yum install epel-release +yum install git +``` + +See ./rpm/INSTALL.md for more detail \ No newline at end of file