936957
From f056d60fb309896a52882fd3fc10fb5305f5a47e Mon Sep 17 00:00:00 2001
936957
From: Joe Lawrence <joe.lawrence@redhat.com>
936957
Date: Thu, 21 Jun 2018 15:40:20 -0400
936957
Subject: [PATCH] contrib: disable upstart kpatch.conf install
936957
936957
Do not install the upstart configuration file to avoid this rhpkg
936957
build complaint:
936957
936957
  Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/kpatch-0.6.1-1.el7.noarch
936957
  error: Installed (but unpackaged) file(s) found:
936957
     /etc/init/kpatch.conf
936957
      Installed (but unpackaged) file(s) found:
936957
     /etc/init/kpatch.conf
936957
936957
We'll need to think of a better way to do this upstream, but for now,
936957
just skip the unneeded file on RHEL.
936957
936957
Signed-off-by: Joe Lawrence <joe.lawrence@redhat.com>
936957
---
936957
 contrib/Makefile | 8 ++++----
936957
 1 file changed, 4 insertions(+), 4 deletions(-)
936957
936957
diff --git a/contrib/Makefile b/contrib/Makefile
936957
index 0b0eeeb23a56..e873f27d6eae 100644
936957
--- a/contrib/Makefile
936957
+++ b/contrib/Makefile
936957
@@ -6,12 +6,12 @@ install: all
936957
 	$(INSTALL) -d $(SYSTEMDDIR)
936957
 	$(INSTALL) -m 0644 kpatch.service $(SYSTEMDDIR)
936957
 	sed -i 's~PREFIX~$(PREFIX)~' $(SYSTEMDDIR)/kpatch.service
936957
-	$(INSTALL) -d $(UPSTARTDIR)
936957
-	$(INSTALL) -m 0644 kpatch.conf $(UPSTARTDIR)
936957
-	sed -i 's~PREFIX~$(PREFIX)~' $(UPSTARTDIR)/kpatch.conf
936957
+#	$(INSTALL) -d $(UPSTARTDIR)
936957
+#	$(INSTALL) -m 0644 kpatch.conf $(UPSTARTDIR)
936957
+#	sed -i 's~PREFIX~$(PREFIX)~' $(UPSTARTDIR)/kpatch.conf
936957
 
936957
 uninstall:
936957
 	$(RM) $(SYSTEMDDIR)/kpatch.service
936957
-	$(RM) $(UPSTARTDIR)/kpatch.conf
936957
+#	$(RM) $(UPSTARTDIR)/kpatch.conf
936957
 
936957
 clean:
936957
-- 
936957
1.8.3.1
936957