diff options
author | Eric Desrochers <eric.desrochers@canonical.com> | 2020-02-12 12:18:05 -0500 |
---|---|---|
committer | Bryan Quigley <bryan.quigley@canonical.com> | 2020-02-13 16:35:30 -0800 |
commit | a1577563ad39ad35070b1ea44ea6fe3f0613d6b9 (patch) | |
tree | c4dc474628cbf43bb6b49e97df5388bc39faa58e | |
parent | 4a687b6dc84403156973947691be4922161545bf (diff) | |
download | sos-a1577563ad39ad35070b1ea44ea6fe3f0613d6b9.tar.gz |
[kdump] Switch lsinitrd in favor of lsinitramfs
lsinitramfs is more likely to be installed and useful.
lsinitramfs -> initramfs-tools-core (main) -> Canonical maintain
lsinitrd -> dracut-core (universe) -> Community maintain
Also adding the '-l' argument to display long and more verbose
listing of initramfs content.
Resolves: #1942
Signed-off-by: Eric Desrochers <eric.desrochers@canonical.com>
Signed-off-by: Bryan Quigley <bryan.quigley@canonical.com>
-rw-r--r-- | sos/plugins/kdump.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/plugins/kdump.py b/sos/plugins/kdump.py index 787d308c..73eb493c 100644 --- a/sos/plugins/kdump.py +++ b/sos/plugins/kdump.py @@ -83,7 +83,7 @@ class DebianKDump(KDump, DebianPlugin, UbuntuPlugin): initramfs_img = "/var/lib/kdump/initrd.img-" + platform.release() if os.path.exists(initramfs_img): - self.add_cmd_output("lsinitrd %s" % initramfs_img) + self.add_cmd_output("lsinitramfs -l %s" % initramfs_img) self.add_cmd_output("kdump-config show") |