craft_parts.packages.dnf module¶
Support for files installed/updated through DNF.
- class craft_parts.packages.dnf.DNFRepository¶
Bases:
YUMRepositoryRepository management using DNF.
- classmethod get_packages_for_source_type(source_type)¶
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)¶
Run a command and log its output.
- Parameters:
command (
list[str])- Return type:
None