stable

mock-1.4.8-1.fc26

FEDORA-2017-e954edb1bb created by msuchy 7 years ago for Fedora 26

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

Updates may require up to 24 hours to propagate to mirrors. If the following command doesn't work, please retry later:

sudo dnf upgrade --refresh --advisory=FEDORA-2017-e954edb1bb

This update has been submitted for testing by msuchy.

7 years ago

msuchy edited this update.

7 years ago

This update has been pushed to testing.

7 years ago

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

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

Works

This update has been submitted for batched by msuchy.

7 years ago

This update has been submitted for stable by bodhi.

7 years ago

This update has been pushed to stable.

7 years ago

Please log in to add feedback.

Metadata
Type
bugfix
Karma
1
Signed
Content Type
RPM
Test Gating
Autopush Settings
Unstable by Karma
-3
Stable by Karma
disabled
Stable by Time
disabled
Dates
submitted
7 years ago
in testing
7 years ago
in stable
7 years ago
modified
7 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