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