Release together with mock-core-configs-30.1 which has these changes:

  • Added repositories for Fedora 30 (and Fedora 31 repos now points to rawhide).

  • distribution-gpg-keys for rhel8beta is being installed directly from Koji, because EPEL8 does not exist yet.

  • Fedora 27 config has been moved to eol directory.

  • gpgcheck is enabled for testing and debuginfo now.

  • Fedoras 29+ have included modular repos now. Additionally, there is now module_platform_id defined in these configs, which allows you to install modules without errors.

Mock new features:

  • All mock configs are parsed and evaluated by Jinja2. Here is small example how it can be used:
# define your own config variable
config_opts['fedora_number'] = '30'
config_opts['root'] = 'fedora-{{ fedora_number }}-x86_64'
config_opts['dist'] = 'fc{{ fedora_number }}'

Another - more general - example from site-defaults.cfg:

# You can use jinja templates, e.g.:
# config_opts['foobar'] = '{{ foo }} bar'
# which will result in 'bar bar' (using value defined few lines above)
# more complicated example:
# config_opts['foo'] = "{{ plugin_conf['package_state_enable'] }}"
# which will result in "True"

This feature can simplify mock's configs in the future. I intentionally did not use it now, because it is too fresh. Please experiment with this feature on your own and report any error or issues. If there would be none, then I will start using it in main configs.

  • Use 32-bit personality for armv7/armv8 builds.

  • You can now specify decompress program for root_cache. This is new default in site-defaults.cfg GH#230:

## decompress_program is needed only for bsdtar, otherwise `compress_program` with `-d` is used
## for bsdtar use "unpigz" or "gunzip"
# config_opts['plugin_conf']['root_cache_opts']['decompress_program'] = "pigz"

Bugfixes:

  • Added Scientific Linux on the list of RHEL clones GH#228

  • Fixed exclude pattern for BSDTar GH#219

  • There used to be living part of site-defaults.cfg:

config_opts['bootstrap_chroot_additional_packages'] = []
config_opts['bootstrap_module_enable'] = []
config_opts['bootstrap_module_install'] = []

This is now commented out by default, and the defaults are set in mock code. You can still override it in site-defaults.cfg.

How to install

sudo dnf upgrade --advisory=FEDORA-2019-5e16c1f70e

This update has been submitted for testing by msuchy.

a year ago

This update has been pushed to testing.

a year ago
User Icon ngompa provided feedback a year ago
karma
User Icon cheeselee commented & provided feedback a year ago
karma

Tested with fedora-30 root

This update has reached 7 days in testing and can be pushed to stable now if the maintainer wishes

a year ago

This update has been submitted for batched by msuchy.

a year ago

This update has been submitted for stable by msuchy.

a year ago

This update has been pushed to stable.

a year ago

Please login to add feedback.

Metadata
Type
enhancement
Karma
2
Signed
Content Type
RPM
Test Gating
Settings
Unstable by Karma
-3
Stable by Karma
3
Dates
submitted
a year ago
in testing
a year ago
in stable
a year ago

Automated Test Results