aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas F Herbert <therbert@redhat.com>2016-04-27 16:19:03 -0400
committerDamjan Marion <damarion@cisco.com>2016-04-28 10:59:26 +0000
commit473bf23be85e861f95d69992b09b0b7d7a6efa2e (patch)
tree675de45f01157d4640746185ad378b9f015ad2a1
parent81d381c35b3fd050518645c9a50cc8c7035a7649 (diff)
Update Makefile to add debuginfo RPMs for gdb
Change-Id: I29d8cc839565999e2fabe09d29c40e09aa1ea784 Signed-off-by: Thomas F Herbert <therbert@redhat.com>
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a222567ee1a..caf93ddadf5 100644
--- a/Makefile
+++ b/Makefile
@@ -26,7 +26,7 @@ DEB_DEPENDS += debhelper dkms default-jdk git libtool libganglia1-dev libapr1-de
DEB_DEPENDS += libconfuse-dev git-review exuberant-ctags cscope
RPM_DEPENDS_GROUPS = 'Development Tools'
-RPM_DEPENDS = redhat-lsb glibc-static java-1.8.0-openjdk-devel
+RPM_DEPENDS = redhat-lsb glibc-static java-1.8.0-openjdk-devel yum-utils
RPM_DEPENDS += openssl-devel https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm apr-devel
EPEL_DEPENDS = libconfuse-devel ganglia-devel
@@ -113,6 +113,7 @@ else ifneq ("$(wildcard /etc/redhat-release)","")
@sudo yum groupinstall -y $(RPM_DEPENDS_GROUPS)
@sudo yum install -y $(RPM_DEPENDS)
@sudo yum install -y --enablerepo=epel $(EPEL_DEPENDS)
+ @sudo debuginfo-install glibc-2.17-106.el7_2.4.x86_64 openssl-libs-1.0.1e-51.el7_2.4.x86_64 zlib-1.2.7-15.el7.x86_64
else
$(error "This option currently works only on Ubuntu or Centos systems")
endif