a >h@s6ddlmZddlmZmZmZGdddeeZdS))glob)PluginIndependentPlugin PluginOptc@s4eZdZdZdZdZdZeddddgZd d Z d S) BootzBootloader informationboot)systemr)ZgrubZgrub2z grub-commonz grub2-commonZzipl all-imagesFzcollect lsinitrd for all images)defaultZdesccCs|gd|jddgdd|jddgdd|dd g|jd d d |jd d d |gd|drtdD]>}|dddkrq||jd|dd|jd|ddq|dS)N)z/etc/milo.confz/etc/silo.confz/boot/efi/efi/redhat/elilo.confz/etc/yaboot.confz/boot/yaboot.confz/bootZls_bootT)tags recursivez/sys/firmware/Zls_sys_firmwarez /initrd.imgz/boot/initrd.imgZlsinitrd)r zmokutil --sb-stateZmokutil_sbstate)z efibootmgr -vzlsinitramfs -l /initrd.imgzlsinitramfs -l /boot/initrd.imgzgrubby --default-kernelr z/boot/initr*.img*iz kdump.imgz lsinitrd d)priorityzlsinitramfs -l )Z add_copy_specZadd_dir_listingZadd_cmd_outputZ get_optionr)selfZimager;/usr/lib/python3.9/site-packages/sos/report/plugins/boot.pysetups"    z Boot.setupN) __name__ __module__ __qualname__Z short_descZ plugin_nameZprofilesZpackagesrZ option_listrrrrrr srN)rZsos.report.pluginsrrrrrrrr s