View on GitHub

Mock » Plugin PackageState

A 'simple' chroot build environment manager for building RPMs.

This plugin dumps out two lists of pkgs into result dir:

Format of installed_pkgs.log file is:

%{nevra} %{buildtime} %{size} %{pkgid} installed


The Package_state plugin is disabled and can be enabled by:

# in version 1.2.18 and older the default was False
config_opts['plugin_conf']['package_state_enable'] = True

config_opts['plugin_conf']['package_state_opts'] = {}
config_opts['plugin_conf']['package_state_opts']['available_pkgs'] = False
config_opts['plugin_conf']['package_state_opts']['installed_pkgs'] = True