craft_parts.packages.dnf module

Support for files installed/updated through DNF.

class craft_parts.packages.dnf.DNFRepository[source]

Bases: YUMRepository

Repository management using DNF.

classmethod get_packages_for_source_type(source_type)[source]

Return a list of packages required to work with source_type.

Parameters:

source_type (str)

Return type:

set[str]

craft_parts.packages.dnf.process_run(command)[source]

Run a command and log its output.

Parameters:

command (list[str])

Return type:

None