Blame SOURCES/remove-strip-of-realtime-entsk-and-generate-debuginf.patch

c00dec
From 9fce13856a7c4dbd55fed37edd9d5a8102bd98de Mon Sep 17 00:00:00 2001
c00dec
From: Clark Williams <williams@redhat.com>
c00dec
Date: Wed, 11 May 2022 16:28:46 -0500
c00dec
Subject: [PATCH] remove strip of realtime-entsk and generate debuginfo
c00dec
c00dec
Resolves:  rhbz#2068534
c00dec
c00dec
Removed '-s' argument to install to prevent stripping of realtime-entsk
c00dec
Removed %global definition of debug_package to '%{nil}' that explicitly
c00dec
turned off debuginfo generation
c00dec
c00dec
Signed-off-by: Clark Williams <williams@redhat.com>
c00dec
---
c00dec
 Makefile            | 2 +-
c00dec
 realtime-setup.spec | 5 -----
c00dec
 2 files changed, 1 insertion(+), 6 deletions(-)
c00dec
c00dec
diff --git a/Makefile b/Makefile
c00dec
index f4a6f030c8a2..8e8a74d1e5d0 100644
c00dec
--- a/Makefile
c00dec
+++ b/Makefile
c00dec
@@ -55,7 +55,7 @@ install:
c00dec
 	install -m 755 -D realtime-setup.systemd $(DEST)/usr/bin/realtime-setup
c00dec
 	install -m 644 -D realtime.conf $(DEST)/etc/security/limits.d/realtime.conf
c00dec
 	install -m 644 -D realtime-entsk.service $(DEST)/usr/lib/systemd/system/realtime-entsk.service
c00dec
-	install -m 755 -D -s realtime-entsk $(DEST)/usr/sbin/realtime-entsk
c00dec
+	install -m 755 -D realtime-entsk $(DEST)/usr/sbin/realtime-entsk
c00dec
 	install -m 644 -D realtime-setup.service $(DEST)/usr/lib/systemd/system/realtime-setup.service
c00dec
 
c00dec
 dist-git: tarball
c00dec
diff --git a/realtime-setup.spec b/realtime-setup.spec
c00dec
index 64c3f3a3fa52..402f66de24bf 100644
c00dec
--- a/realtime-setup.spec
c00dec
+++ b/realtime-setup.spec
c00dec
@@ -18,11 +18,6 @@ Requires: tuned
c00dec
 Requires: tuned-profiles-realtime
c00dec
 Requires: systemd
c00dec
 
c00dec
-# disable generation of debuginfo packages for this package
c00dec
-# the only executable from this package is realtime-entsk and it's not really
c00dec
-# something that requires debugging.
c00dec
-%global debug_package %{nil}
c00dec
-
c00dec
 %description
c00dec
 Configure details useful for low-latency environments.
c00dec
 
c00dec
-- 
c00dec
2.36.1
c00dec