From c3f0fd0ac3de68c3510711ac42011f745f77d33d Mon Sep 17 00:00:00 2001 From: eabdullin Date: Wed, 27 Sep 2023 14:09:12 +0000 Subject: [PATCH] import CS rt-setup-2.1-5.el8 --- SPECS/rt-setup.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/SPECS/rt-setup.spec b/SPECS/rt-setup.spec index b42086d..6432d0f 100644 --- a/SPECS/rt-setup.spec +++ b/SPECS/rt-setup.spec @@ -1,6 +1,6 @@ Name: rt-setup Version: 2.1 -Release: 4%{?dist} +Release: 5%{?dist} License: GPL+ Summary: Setup RHEL-RT environment details Group: System Environment/Base @@ -47,7 +47,7 @@ make DEST=%{buildroot} install %post /usr/sbin/groupadd -f -g 71 realtime -if grep kernel.hung_task_panic /etc/sysctl.conf >/dev/null 2>&1 +if grep kernel.hung_task_panic /etc/sysctl.conf /etc/sysctl.d/* >/dev/null 2>&1 then : else @@ -60,7 +60,7 @@ kernel.hung_task_panic = 0 EOF fi -if grep kernel.hung_task_timeout_secs /etc/sysctl.conf >/dev/null 2>&1 +if grep kernel.hung_task_timeout_secs /etc/sysctl.conf /etc/sysctl.d/* >/dev/null 2>&1 then : else @@ -98,6 +98,10 @@ rm -rf %{buildroot} %attr(0644, root, root) %{_unitdir}/rt-entsk.service %changelog +* Wed Mar 22 2023 John Kacur - 2.1-5 +- Build with fix for rt-setup post script +Resolves: rhbz#2168478 + * Thu May 19 2022 John Kacur - 2.1-4 - Remove '-s' argument to install to prevent stripping of rt-entsk Resolves: rhbz#2068537