import CS rt-setup-2.1-5.el8

This commit is contained in:
eabdullin 2023-09-27 14:09:12 +00:00
parent 66068d5a67
commit c3f0fd0ac3
1 changed files with 7 additions and 3 deletions

View File

@ -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 <jkacur@redhat.com> - 2.1-5
- Build with fix for rt-setup post script
Resolves: rhbz#2168478
* Thu May 19 2022 John Kacur <jkacur@redhat.com> - 2.1-4
- Remove '-s' argument to install to prevent stripping of rt-entsk
Resolves: rhbz#2068537