aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam R Bell <a_0x07@protonmail.ch>2020-08-11 16:45:00 -0600
committerJake Hunsaker <jhunsake@redhat.com>2020-08-13 10:15:33 -0400
commit6a4a0721730f96f4bad0d7d80a7fe822e24f06b7 (patch)
tree6df59cca9dec0699b0bed9afe811fe0460121bba
parent2d5548133d96f2a83a26693e7c29c295c53b3bec (diff)
downloadsos-6a4a0721730f96f4bad0d7d80a7fe822e24f06b7.tar.gz
[snappy] Adds root symlink to installed snaps.
This is to mirror the "installed-debs" root symlink from the "dpkg" plugin. Support engineers prefer the quick access of "installed-debs", but that only covers dpkg packages. Therefore, this additional root symlink will provide engineers with the snappy packages installed. It is a somewhat Ubuntu-specific change since few other systems use snappy. Like "installed-debs" in the "dpkg" plugin, this will only show up when the snappy plugin executes. Resolves: #2198 Signed-off-by: Adam R Bell <adam.bell@canonical.com> Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
-rw-r--r--sos/report/plugins/snappy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/report/plugins/snappy.py b/sos/report/plugins/snappy.py
index 2b0c68f5..d08e77cd 100644
--- a/sos/report/plugins/snappy.py
+++ b/sos/report/plugins/snappy.py
@@ -19,8 +19,8 @@ class Snappy(Plugin, UbuntuPlugin, DebianPlugin, RedHatPlugin):
packages = ('snapd',)
def setup(self):
+ self.add_cmd_output("snap list --all", root_symlink="installed-snaps")
self.add_cmd_output([
- "snap list --all",
"snap --version",
"snap changes"
])