FEDORA-2017-ac67357aa1 created by msuchy 3 years ago for Fedora 27
stable

Features:

  • There is a new option --config-opts GH#138

You can run:

    mock --config-opts yum_command=/usr/bin/yum-deprecated --enable-network

which will set:

    config_opts['system_yum_command'] = '/usr/bin/yum'

or for a list:

    mock --config-opts extra_chroot_dirs=/mnt/b --config-opts extra_chroot_dirs=/mnt/a

which will set

    config_opts['extra_chroot_dirs'] = ['/mnt/b', '/mnt/a']

or list with a single item:

    mock --config-opts extra_chroot_dirs=/mnt/b --config-opts extra_chroot_dirs=

which will set

    config_opts['extra_chroot_dirs'] = ['/mnt/b']

It can detect boolean:

    mock --config-opts nosync=False --debug-config |grep nosync
    config_opts['nosync'] = False

A specialized option has priority. Therefore:

    mock --config-opts rpmbuild_networking=False --enable-network --debug-config |grep rpmbuild_networking
    config_opts['rpmbuild_networking'] = True

It is unable to set complicated variables. Like config_opts['plugin_conf']['package_state_opts'] or anything which has dictionary as value.

  • There is a new option. --enable-network which is equivalent to config_opts['rpmbuild_networking'] = True

Bugfixes:

  • orphanskill now emits SIGKILL when SIGTERM is not enough #1495214
  • when mock tries to force umount, it will try umount recursively
  • do not change to directory if nspawn is used GH#108
  • when creating yum/dnf.conf, mock now copy timestamp from the host #1293910
  • We now mount /proc and /sys in chroot before executing any package manager command (outside of chroot)#1467299
  • Dependencies of mock-scm (git, cvs, tar, subversion) are now soft dependencies (Recommends) #1515989
  • Previously job control in mock shell does not work. #1468837. This was a glibc bug and it is resolved in rawhide now.

How to install

sudo dnf upgrade --advisory=FEDORA-2017-ac67357aa1

This update has been submitted for testing by msuchy.

3 years ago

msuchy edited this update.

3 years ago

This update has been pushed to testing.

3 years ago
User Icon besser82 commented & provided feedback 3 years ago
karma

Works great! LGTM! =)

User Icon cserpentis commented & provided feedback 3 years ago
karma

works for me

I can't test it properly without test cases, but nothing is broken :P

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

3 years ago
User Icon pwalter commented & provided feedback 3 years ago
karma

Works

This update has been submitted for batched by msuchy.

3 years ago

This update has been submitted for stable by bodhi.

3 years ago

This update has been pushed to stable.

3 years ago

Please login to add feedback.

Metadata
Type
bugfix
Karma
3
Signed
Content Type
RPM
Test Gating
Settings
Unstable by Karma
-3
Stable by Karma
disabled
Stable by Time
disabled
Dates
submitted
3 years ago
in testing
3 years ago
in stable
3 years ago
modified
3 years ago
BZ#1293910 The behaviour of metadata_expire=0
0
0
BZ#1467299 /proc is not available during chroot preparation in mock build
0
0
BZ#1495214 Cleanup failed; device is busy
0
0
BZ#1513953 Please add argument for enablement of networking with the systemd-nspawn
0
0
BZ#1515989 does mock-scm really need to Require: cvs, subversion, git?
0
0

Automated Test Results