import dnf-plugins-core-4.0.21-4.el8_5
This commit is contained in:
parent
70af06f40a
commit
fdd4561518
@ -0,0 +1,25 @@
|
||||
From dc13ed6bab62a38ef74b00376e2ba05c82115e47 Mon Sep 17 00:00:00 2001
|
||||
From: Nicola Sella <nsella@redhat.com>
|
||||
Date: Thu, 8 Jul 2021 15:54:21 +0200
|
||||
Subject: [PATCH] [needs-restarting] Fix wrong boot time (RhBug:1960437)
|
||||
|
||||
---
|
||||
plugins/needs_restarting.py | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/plugins/needs_restarting.py b/plugins/needs_restarting.py
|
||||
index 1fedb73..91dbe66 100644
|
||||
--- a/plugins/needs_restarting.py
|
||||
+++ b/plugins/needs_restarting.py
|
||||
@@ -199,7 +199,7 @@ class ProcessStart(object):
|
||||
|
||||
@staticmethod
|
||||
def get_boot_time():
|
||||
- return int(os.stat('/proc/1/cmdline').st_mtime)
|
||||
+ return int(os.stat('/proc/1').st_mtime)
|
||||
|
||||
@staticmethod
|
||||
def get_sc_clk_tck():
|
||||
--
|
||||
libgit2 1.1.0
|
||||
|
@ -34,7 +34,7 @@
|
||||
|
||||
Name: dnf-plugins-core
|
||||
Version: 4.0.21
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
Summary: Core Plugins for DNF
|
||||
License: GPLv2+
|
||||
URL: https://github.com/rpm-software-management/dnf-plugins-core
|
||||
@ -43,6 +43,7 @@ Patch1: 0001-versionlock-Do-not-exclude-locked-obsoleters-RhBug1957280.p
|
||||
Patch2: 0002-repomanage-Allow-running-only-with-metadata.patch
|
||||
Patch3: 0003-repomanage-Enhance-repomanage-documentation-RhBug1898293.patch
|
||||
Patch4: 0004-Update-translations.patch
|
||||
Patch5: 0005-needs-restarting-Fix-wrong-boot-time-RhBug1960437.patch
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: cmake
|
||||
@ -766,6 +767,9 @@ ln -sf %{_mandir}/man1/%{yum_utils_subpackage_name}.1.gz %{buildroot}%{_mandir}/
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Thu Jan 06 2022 Pavla Kratochvilova <pkratoch@redhat.com> - 4.0.21-4
|
||||
- [needs-restarting] Fix wrong boot time (RhBug:1960437,2037008)
|
||||
|
||||
* Mon Sep 13 2021 Marek Blaha <mblaha@redhat.com> - 4.0.21-3
|
||||
- Translations update (RhBug:1961633)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user