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-cca3e242eb

This update has been submitted for testing by msuchy.

2 years ago

This update has been pushed to testing.

2 years ago
User Icon atim commented & provided feedback 2 years ago
karma

Seems fine but didn't tried new features.

User Icon andilinux commented & provided feedback 2 years ago
karma

works without issues

User Icon besser82 commented & provided feedback 2 years ago
karma

Works great! LGTM! =)

This update has been submitted for batched by bodhi.

2 years ago
User Icon ngompa commented & provided feedback 2 years ago
karma

Works for me.

This update has been submitted for stable by msuchy.

2 years ago

This update has been pushed to stable.

2 years ago
User Icon decathorpe commented & provided feedback 2 years ago
karma

Well, this breaks building at least one of my packages elementary-music, on fedora 29:

 Problem: cannot install the best candidate for the job
  - package libpeas-devel-1.22.0-9.module_2123+73a9ef6f.x86_64 is excluded
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

I think it was a mistake to enable modular repos by default.


Please login to add feedback.

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

Automated Test Results