!6 Revert: update package to lastest release
Merge pull request !6 from 成子晗/openEuler-20.03-LTS
This commit is contained in:
commit
bc9d333edc
BIN
3.6.tar.gz
Normal file
BIN
3.6.tar.gz
Normal file
Binary file not shown.
BIN
3.9.1.tar.gz
BIN
3.9.1.tar.gz
Binary file not shown.
34
kernel-dont-collect-some-tracing-instance-files.patch
Normal file
34
kernel-dont-collect-some-tracing-instance-files.patch
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
From d6379b5ba0f381ea8ec2403b9985100a946a5866 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Pavel Moravec <pmoravec@redhat.com>
|
||||||
|
Date: Mon, 8 Oct 2018 10:45:04 +0200
|
||||||
|
Subject: [PATCH 60/87] [kernel] dont collect some tracing instance files
|
||||||
|
|
||||||
|
reason: dont collect some tracing instance files
|
||||||
|
|
||||||
|
https://github.com/sosreport/sos/pull/1445/files
|
||||||
|
|
||||||
|
Resolves: #1445
|
||||||
|
|
||||||
|
Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
|
||||||
|
---
|
||||||
|
sos/plugins/kernel.py | 5 ++++-
|
||||||
|
1 file changed, 4 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/sos/plugins/kernel.py b/sos/plugins/kernel.py
|
||||||
|
index 7310932..558e714 100644
|
||||||
|
--- a/sos/plugins/kernel.py
|
||||||
|
+++ b/sos/plugins/kernel.py
|
||||||
|
@@ -93,7 +93,10 @@ class Kernel(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
|
||||||
|
'/sys/kernel/debug/tracing/events/*',
|
||||||
|
'/sys/kernel/debug/tracing/free_buffer',
|
||||||
|
'/sys/kernel/debug/tracing/trace_marker',
|
||||||
|
- '/sys/kernel/debug/tracing/trace_marker_raw'
|
||||||
|
+ '/sys/kernel/debug/tracing/trace_marker_raw',
|
||||||
|
+ '/sys/kernel/debug/tracing/instances/*/per_cpu/*/snapshot_raw',
|
||||||
|
+ '/sys/kernel/debug/tracing/instances/*/per_cpu/*/trace_pipe*',
|
||||||
|
+ '/sys/kernel/debug/tracing/instances/*/trace_pipe'
|
||||||
|
])
|
||||||
|
|
||||||
|
self.add_copy_spec([
|
||||||
|
--
|
||||||
|
1.8.3.1
|
||||||
13
sos.spec
13
sos.spec
@ -1,17 +1,19 @@
|
|||||||
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||||
|
|
||||||
Name: sos
|
Name: sos
|
||||||
Version: 3.9.1
|
Version: 3.6
|
||||||
Release: 2
|
Release: 5
|
||||||
Summary: A set of tools to gather troubleshooting information from a system
|
Summary: A set of tools to gather troubleshooting information from a system
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: https://github.com/sosreport/sos
|
URL: http://github.com/sosreport/sos
|
||||||
Source0: https://github.com/sosreport/sos/archive/%{version}.tar.gz
|
Source0: https://github.com/sosreport/sos/archive/%{version}.tar.gz
|
||||||
|
|
||||||
BuildRequires: python3-devel gettext python3-six
|
BuildRequires: python3-devel gettext python3-six
|
||||||
Requires: libxml2-python3 bzip2 xz python3-six
|
Requires: libxml2-python3 bzip2 xz python3-six
|
||||||
Conflicts: vdsm <= 4.30.17
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
|
Patch0: kernel-dont-collect-some-tracing-instance-files.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Sos is an extensible, portable, support data collection tool primarily
|
Sos is an extensible, portable, support data collection tool primarily
|
||||||
aimed at Linux distributions and other UNIX-like operating systems.
|
aimed at Linux distributions and other UNIX-like operating systems.
|
||||||
@ -44,8 +46,5 @@ install -Dm644 %{name}.conf %{buildroot}%{_sysconfdir}/%{name}.conf
|
|||||||
%{_mandir}/man5/sos.conf.5.gz
|
%{_mandir}/man5/sos.conf.5.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Mon Jun 1 2020 chengzihan <chengzihan2@huawei.com> - 3.9.1-2
|
|
||||||
- Package update
|
|
||||||
|
|
||||||
* Mon Feb 17 2020 openEuler Buildteam <buildteam@openeuler.org> - 3.6-5
|
* Mon Feb 17 2020 openEuler Buildteam <buildteam@openeuler.org> - 3.6-5
|
||||||
- Package init
|
- Package init
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user