From a1577563ad39ad35070b1ea44ea6fe3f0613d6b9 Mon Sep 17 00:00:00 2001 From: Eric Desrochers Date: Wed, 12 Feb 2020 12:18:05 -0500 Subject: [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 Signed-off-by: Bryan Quigley --- sos/plugins/kdump.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") -- cgit