From a06f5d29271f05edcf04a52ad7c39f882d7f1e0b Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Sep 27 2022 21:37:28 +0000 Subject: import rt-setup-2.1-4.el8 --- diff --git a/SOURCES/rt-setup-remove-strip-of-rt-entsk.patch b/SOURCES/rt-setup-remove-strip-of-rt-entsk.patch new file mode 100644 index 0000000..c434e5f --- /dev/null +++ b/SOURCES/rt-setup-remove-strip-of-rt-entsk.patch @@ -0,0 +1,28 @@ +From f29bccfe2e3610a4bd10e01188ec869be100f2ce Mon Sep 17 00:00:00 2001 +From: John Kacur +Date: Thu, 19 May 2022 14:27:51 -0400 +Subject: [PATCH] rt-setup: remove strip of rt-entsk + +Remove '-s' argument from the install command for rt-entsk + +Signed-off-by: John Kacur +--- + Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile b/Makefile +index a1cda5cb2510..a86c927a1217 100644 +--- a/Makefile ++++ b/Makefile +@@ -57,7 +57,7 @@ install: + install -m 755 -D rt-setup.systemd $(DEST)/usr/bin/rt-setup + install -m 644 -D realtime.conf $(DEST)/etc/security/limits.d/realtime.conf + install -m 644 -D rt-entsk.service $(DEST)/usr/lib/systemd/system/rt-entsk.service +- install -m 755 -D -s rt-entsk $(DEST)/usr/sbin/rt-entsk ++ install -m 755 -D rt-entsk $(DEST)/usr/sbin/rt-entsk + install -m 644 -D rt-setup.service $(DEST)/usr/lib/systemd/system/rt-setup.service + + dist-git: tarball +-- +2.36.1 + diff --git a/SPECS/rt-setup.spec b/SPECS/rt-setup.spec index 6015d70..b42086d 100644 --- a/SPECS/rt-setup.spec +++ b/SPECS/rt-setup.spec @@ -1,6 +1,6 @@ Name: rt-setup Version: 2.1 -Release: 3%{?dist} +Release: 4%{?dist} License: GPL+ Summary: Setup RHEL-RT environment details Group: System Environment/Base @@ -19,7 +19,9 @@ Requires: tuned Requires: tuned-profiles-realtime Requires: systemd -%global debug_package %{nil} +# Patches +Patch1: rt-setup-remove-strip-of-rt-entsk.patch + %description The 'rt-setup' package configures details required by RHEL-RT environment. @@ -32,6 +34,7 @@ The 'rt-setup' package configures details required by RHEL-RT environment. %prep %setup +%patch1 -p1 %build %set_build_flags @@ -95,6 +98,10 @@ rm -rf %{buildroot} %attr(0644, root, root) %{_unitdir}/rt-entsk.service %changelog +* Thu May 19 2022 John Kacur - 2.1-4 +- Remove '-s' argument to install to prevent stripping of rt-entsk +Resolves: rhbz#2068537 + * Wed Jan 19 2022 John Kacur - 2.1-3 - Rebuild for rhel-8.6, no functional change Resolves: rhbz#2042221