e55a89
From d67065dc8bbca6c7b921cf57d4a30e8c700b3a8e Mon Sep 17 00:00:00 2001
e55a89
From: Peter Jones <pjones@redhat.com>
e55a89
Date: Mon, 13 Mar 2017 15:48:09 -0400
e55a89
Subject: [PATCH 2/2] Don't build efibootdump on RHEL 7.4...
e55a89
e55a89
Because popt is ancient (1.13 released in 2007, as opposed to 1.16
e55a89
released in 2010), it does not have POPT_ARG_ARGV, which efibootdump
e55a89
uses.  Since there's no feature for efibootdump, and we've never shipped
e55a89
it, just nerf it out of the build.
e55a89
e55a89
Signed-off-by: Peter Jones <pjones@redhat.com>
e55a89
---
e55a89
 src/Makefile | 4 +---
e55a89
 1 file changed, 1 insertion(+), 3 deletions(-)
e55a89
e55a89
diff --git a/src/Makefile b/src/Makefile
e55a89
index 453ddadfca2..162f5526b3c 100644
e55a89
--- a/src/Makefile
e55a89
+++ b/src/Makefile
e55a89
@@ -7,7 +7,7 @@ include $(TOPDIR)/Make.defaults
e55a89
 
e55a89
 SUBDIR_CFLAGS = -I$(SRCDIR)/include
e55a89
 
e55a89
-BINTARGETS=efibootmgr efibootdump
e55a89
+BINTARGETS=efibootmgr
e55a89
 TARGETS=$(BINTARGETS)
e55a89
 
e55a89
 all : deps $(TARGETS)
e55a89
@@ -45,9 +45,7 @@ clean :
e55a89
 install :
e55a89
 	$(INSTALL) -d -m 755 $(DESTDIR)/$(sbindir)/
e55a89
 	$(INSTALL) -m 755 efibootmgr $(DESTDIR)/$(sbindir)/efibootmgr
e55a89
-	$(INSTALL) -m 755 efibootdump $(DESTDIR)/$(sbindir)/efibootdump
e55a89
 	$(INSTALL) -d -m 755 $(DESTDIR)/$(mandir)/man8/
e55a89
 	$(INSTALL) -m 644 efibootmgr.8 $(DESTDIR)/$(mandir)/man8/efibootmgr.8
e55a89
-	$(INSTALL) -m 644 efibootdump.8 $(DESTDIR)/$(mandir)/man8/efibootdump.8
e55a89
 
e55a89
 .PHONY : all deps clean install
e55a89
-- 
e55a89
2.17.1
e55a89