From 00ebeb0b0d096bf3c2beef9e42a53fdfc3a709d0 Mon Sep 17 00:00:00 2001 From: Seth Jennings Date: Tue, 15 Jul 2014 12:06:32 -0500 Subject: [PATCH] add install documentation for RHEL Fixes #253 Signed-off-by: Seth Jennings --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.md b/README.md index 546bce2..dbc3037 100644 --- a/README.md +++ b/README.md @@ -47,6 +47,25 @@ Install the dependencies for the "kpatch-build" command: sudo yum install ccache ccache --max-size=5G +####RHEL 7 + +*NOTE: You'll need about 15GB of free disk space for the kpatch-build cache in +`~/.kpatch` and for ccache.* + +Install the dependencies for compiling kpatch: + + sudo yum install gcc kernel-devel elfutils elfutils-devel + +Install the dependencies for the "kpatch-build" command: + + sudo yum install rpmdevtools pesign yum-utils zlib-devel binutils-devel newt-devel python-devel perl-ExtUtils-Embed audit-libs-devel numactl-devel pciutils-devel bison + sudo yum-builddep kernel + sudo debuginfo-install kernel + + # optional, but highly recommended + sudo yum install ccache + ccache --max-size=5G + ####Ubuntu 14.04 *NOTE: You'll need about 15GB of free disk space for the kpatch-build cache in