I just released new mock. The auto-karma is off again. And I will push it to stable only
if there is no big issue.
From the release notes
https://github.com/rpm-software-management/mock/wiki/Release-Notes-1.4.2
There are new features:
* The bootstrap feature is now disabled by default. There were too many issues with it.
You can enable it locally with
`--bootstrap-chroot`, but first see knows
[
bugs](https://bugzilla.redhat.com/buglist.cgi?bug_status=NEW&bug_stat...
and [
issues](https://github.com/rpm-software-management/mock/issues).
* There is initial support for Fedora Modularity. You can add to config:
config_opts['module_enable'] = ['list', 'of',
'modules']
config_opts['module_install'] = ['module1/profile',
'module2/profile']
This will call `dnf module enable list of modules` and `dnf module install module1/profile
module2/profile` during the
init phase.
There are some bugfixes:
* NSpawn chroot is switched off for EL6 targets
[[RHBZ#1456421](https://bugzilla.redhat.com/show_bug.cgi?id=1456421)].
* LVM root is not umounted when `umount_root` is set to false
[[RHBZ#1447658](https://bugzilla.redhat.com/show_bug.cgi?id=1447658)]
* Shell in NSpawn container is now called with `--login` so `profile.d` scripts are
executed
[[RHBZ#1450516](https://bugzilla.redhat.com/show_bug.cgi?id=1450516)]
[[RHBZ#1462373](https://bugzilla.redhat.com/show_bug.cgi?id=1462373)]
* yum rather then yum-deprecated is used when using bootstrap chroot
[[RHBZ#1446294](https://bugzilla.redhat.com/show_bug.cgi?id=1446294)]
* Custom chroot does not use bootstrap
[[RHBZ#1448321](https://bugzilla.redhat.com/show_bug.cgi?id=1448321)]
* Mock now use `dnf repoquery` instead of repoquery for chroots which uses DNF.
* LVM's scrub hook for bootstrap chroot is called
[[RHBZ#1446297](https://bugzilla.redhat.com/show_bug.cgi?id=1446297)]
* `--mount` will mount LVM volumes
[[RHBZ#1448017](https://bugzilla.redhat.com/show_bug.cgi?id=1448017)]
--
Miroslav Suchy, RHCA
Red Hat, Senior Software Engineer, #brno, #devexp, #fedora-buildsys