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

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