Blame SOURCES/sos-bz1881118-crio-conf-d.patch

900d18
From 019f7c49768f27ef15f39d80db8a03b2aaa453ee Mon Sep 17 00:00:00 2001
900d18
From: Pavel Moravec <pmoravec@redhat.com>
900d18
Date: Mon, 21 Sep 2020 17:33:25 +0200
900d18
Subject: [PATCH] [crio] collect /etc/crio/crio.conf.d/
900d18
900d18
Crio configs can be newly in the dir also.
900d18
900d18
Resolves: #2240
900d18
900d18
Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
900d18
Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
900d18
---
900d18
 sos/report/plugins/crio.py | 1 +
900d18
 1 file changed, 1 insertion(+)
900d18
900d18
diff --git a/sos/report/plugins/crio.py b/sos/report/plugins/crio.py
900d18
index dacc0745..e8b566c3 100644
900d18
--- a/sos/report/plugins/crio.py
900d18
+++ b/sos/report/plugins/crio.py
900d18
@@ -31,6 +31,7 @@ class CRIO(Plugin, RedHatPlugin, UbuntuPlugin):
900d18
             "/etc/crictl.yaml",
900d18
             "/etc/crio/crio.conf",
900d18
             "/etc/crio/seccomp.json",
900d18
+            "/etc/crio/crio.conf.d/",
900d18
             "/etc/systemd/system/cri-o.service",
900d18
             "/etc/sysconfig/crio-*"
900d18
         ])
900d18
-- 
900d18
2.26.2
900d18
f2c821
From 7f72a36144b3e235159556689b5129b7453294e3 Mon Sep 17 00:00:00 2001
f2c821
From: Pavel Moravec <pmoravec@redhat.com>
f2c821
Date: Tue, 15 Dec 2020 14:19:34 +0100
f2c821
Subject: [PATCH] [component] Use sysroot from Policy when opts doesn't specify
f2c821
 it
f2c821
f2c821
Until --sysroot option is specified, Archive (sub)classes should
f2c821
be called with sysroot determined from Policy.
f2c821
f2c821
Resolves: #2346
f2c821
f2c821
Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
f2c821
Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
f2c821
---
f2c821
 sos/component.py | 4 ++--
f2c821
 1 file changed, 2 insertions(+), 2 deletions(-)
f2c821
f2c821
diff --git a/sos/component.py b/sos/component.py
f2c821
index 69d3b755..7774c05a 100644
f2c821
--- a/sos/component.py
f2c821
+++ b/sos/component.py
f2c821
@@ -246,13 +246,13 @@ class SoSComponent():
f2c821
             auto_archive = self.policy.get_preferred_archive()
f2c821
             self.archive = auto_archive(archive_name, self.tmpdir,
f2c821
                                         self.policy, self.opts.threads,
f2c821
-                                        enc_opts, self.opts.sysroot,
f2c821
+                                        enc_opts, self.sysroot,
f2c821
                                         self.manifest)
f2c821
 
f2c821
         else:
f2c821
             self.archive = TarFileArchive(archive_name, self.tmpdir,
f2c821
                                           self.policy, self.opts.threads,
f2c821
-                                          enc_opts, self.opts.sysroot,
f2c821
+                                          enc_opts, self.sysroot,
f2c821
                                           self.manifest)
f2c821
 
f2c821
         self.archive.set_debug(True if self.opts.debug else False)
f2c821
-- 
f2c821
2.26.2
f2c821