o i©¹dMã@s&ddlmZmZGdd„deeƒZdS)é)ÚPluginÚIndependentPluginc@s0eZdZdZdZdZdZdZdd„Zdd„Z d S) ÚFwupdzfwupd informationÚfwupd)Úsystem)rcCs| gd¢¡| d¡dS)N)zfwupdmgr get-approved-firmwarez*fwupdmgr get-devices --no-unreported-checkzfwupdmgr get-historyzfwupdmgr get-remotesz)/usr/libexec/fwupd/fwupdagent get-devicesz)/usr/libexec/fwupd/fwupdagent get-updatesz /etc/fwupd)Úadd_cmd_outputÚ add_copy_spec©Úself©r ú:/usr/lib/python3/dist-packages/sos/report/plugins/fwupd.pyÚsetups z Fwupd.setupcCs | ddd¡| ddd¡dS)Nz/etc/fwupd/remotes.d/*z(Password)=(.*)z \1=********z/etc/fwupd/redfish.conf)Údo_path_regex_subÚ do_file_subr r r r Úpostproc"sýýzFwupd.postprocN) Ú__name__Ú __module__Ú __qualname__Ú short_descÚ plugin_nameÚprofilesÚservicesÚpackagesr rr r r r r s rN)Úsos.report.pluginsrrrr r r r Ús