o
    *by  ã                   @   s&   d dl mZmZ G dd„ deeƒZdS )é    )ÚPluginÚRedHatPluginc                   @   s    e Zd ZdZdZdZdd„ ZdS )Ú	Rpmostreezrpm-ostree image/package systemZ	rpmostree)z
rpm-ostreec                 C   sF   |   d¡ g d¢}|  dd„ |D ƒ¡ g d¢}|D ]}|  |¡ qd S )Nz/etc/ostree/remotes.d/)z	status -vZkargszdb listzdb diffz	--versionc                 S   s   g | ]}d | ‘qS )zrpm-ostree %s© )Ú.0Zsubcmdr   r   ú>/usr/lib/python3/dist-packages/sos/report/plugins/rpmostree.pyÚ
<listcomp>    s    z#Rpmostree.setup.<locals>.<listcomp>)zrpm-ostreedzrpm-ostreed-automaticzrpm-ostree-bootstatus)Zadd_copy_specZadd_cmd_outputZadd_journal)ÚselfZsubcmdsZunitsZunitr   r   r   Úsetup   s   
ÿzRpmostree.setupN)Ú__name__Ú
__module__Ú__qualname__Z
short_descZplugin_nameZpackagesr
   r   r   r   r   r      s
    r   N)Zsos.report.pluginsr   r   r   r   r   r   r   Ú<module>   s   
