Blob Blame History Raw
From 9fce13856a7c4dbd55fed37edd9d5a8102bd98de Mon Sep 17 00:00:00 2001
From: Clark Williams <williams@redhat.com>
Date: Wed, 11 May 2022 16:28:46 -0500
Subject: [PATCH] remove strip of realtime-entsk and generate debuginfo

Resolves:  rhbz#2068534

Removed '-s' argument to install to prevent stripping of realtime-entsk
Removed %global definition of debug_package to '%{nil}' that explicitly
turned off debuginfo generation

Signed-off-by: Clark Williams <williams@redhat.com>
---
 Makefile            | 2 +-
 realtime-setup.spec | 5 -----
 2 files changed, 1 insertion(+), 6 deletions(-)

diff --git a/Makefile b/Makefile
index f4a6f030c8a2..8e8a74d1e5d0 100644
--- a/Makefile
+++ b/Makefile
@@ -55,7 +55,7 @@ install:
 	install -m 755 -D realtime-setup.systemd $(DEST)/usr/bin/realtime-setup
 	install -m 644 -D realtime.conf $(DEST)/etc/security/limits.d/realtime.conf
 	install -m 644 -D realtime-entsk.service $(DEST)/usr/lib/systemd/system/realtime-entsk.service
-	install -m 755 -D -s realtime-entsk $(DEST)/usr/sbin/realtime-entsk
+	install -m 755 -D realtime-entsk $(DEST)/usr/sbin/realtime-entsk
 	install -m 644 -D realtime-setup.service $(DEST)/usr/lib/systemd/system/realtime-setup.service
 
 dist-git: tarball
diff --git a/realtime-setup.spec b/realtime-setup.spec
index 64c3f3a3fa52..402f66de24bf 100644
--- a/realtime-setup.spec
+++ b/realtime-setup.spec
@@ -18,11 +18,6 @@ Requires: tuned
 Requires: tuned-profiles-realtime
 Requires: systemd
 
-# disable generation of debuginfo packages for this package
-# the only executable from this package is realtime-entsk and it's not really
-# something that requires debugging.
-%global debug_package %{nil}
-
 %description
 Configure details useful for low-latency environments.
 
-- 
2.36.1