From 29228e2ad20c5ffaeb4ddb20ea89ebcb082d90a3 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: May 12 2020 12:36:08 +0000 Subject: import yum-utils-1.1.31-54.el7_8 --- diff --git a/SOURCES/BZ-1806060-needs-restarting-add-kernel-rt.patch b/SOURCES/BZ-1806060-needs-restarting-add-kernel-rt.patch new file mode 100644 index 0000000..de12ef5 --- /dev/null +++ b/SOURCES/BZ-1806060-needs-restarting-add-kernel-rt.patch @@ -0,0 +1,21 @@ +commit 90bdf6ca23a953ad40ae811f1e4e377a725e7365 +Author: Michal Domonkos +Date: Wed Mar 11 12:33:40 2020 +0100 + + needs-restarting: add kernel-rt to REBOOTPKGS. BZ 1806060 + +diff --git a/needs-restarting.py b/needs-restarting.py +index eaafd9d..0ec7079 100755 +--- a/needs-restarting.py ++++ b/needs-restarting.py +@@ -50,8 +50,8 @@ import utils + + # For which package updates we should recommend a reboot + # Taken from https://access.redhat.com/solutions/27943 +-REBOOTPKGS = ['kernel', 'glibc', 'linux-firmware', 'systemd', 'udev', +- 'openssl-libs', 'gnutls', 'dbus'] ++REBOOTPKGS = ['kernel', 'kernel-rt', 'glibc', 'linux-firmware', 'systemd', ++ 'udev', 'openssl-libs', 'gnutls', 'dbus'] + + def parseargs(args): + usage = """ diff --git a/SPECS/yum-utils.spec b/SPECS/yum-utils.spec index d908d95..242d749 100644 --- a/SPECS/yum-utils.spec +++ b/SPECS/yum-utils.spec @@ -12,7 +12,7 @@ Summary: Utilities based around the yum package manager Name: yum-utils Version: 1.1.31 -Release: 53%{?dist} +Release: 54%{?dist} License: GPLv2+ Group: Development/Tools Source: http://yum.baseurl.org/download/yum-utils/%{name}-%{version}.tar.gz @@ -86,6 +86,7 @@ Patch200: BZ-1476701-handle-md-fetch-errors.patch Patch220: BZ-1659588-repotrack-fix-repofrompath-opt.patch Patch221: BZ-1463723-repotrack-copy-local-packages.patch Patch222: BZ-1630197-needs-restarting-clarify-exit-code.patch +Patch223: BZ-1806060-needs-restarting-add-kernel-rt.patch URL: http://yum.baseurl.org/download/yum-utils/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -539,6 +540,7 @@ This plugin touches rpmdb files to work around overlayfs issues. %patch220 -p1 %patch221 -p1 %patch222 -p1 +%patch223 -p1 %install rm -rf $RPM_BUILD_ROOT @@ -870,6 +872,10 @@ fi %{_mandir}/man1/yum-ovl.1.* %changelog +* Thu Mar 12 2020 Michal Domonkos - 1.1.31-54 +- needs-restarting: --reboothint: add kernel-rt to package list +- Resolves: bug#1812452 + * Tue Sep 10 2019 Michal Domonkos - 1.1.31-53 - repotrack: fix --repofrompath for non-root users - Related: bug#1659588