stable

Mock v2.2 and configs v32.6

FEDORA-EPEL-2020-88ef4b4d66 created by praiskup 3 years ago for Fedora EPEL 7

Sumup is in upstream release notes

mock-2.2-1

  • depend on mock-configs, not mock-core-configs so users can pick an alternative package with configuration
  • bind-mounting stuff below /tmp into bootstrap is fixed with nspawn (GH#502)
  • don't do util.getAddtlReqs when 'more_buildreqs' not specified
  • implement doOutChroot() abstraction which runs commands either in bootstrap or on host, depending on isolation={nspawn|simple}
  • use doOutChroot() for package_state plugin (GH#525)
  • fix for "mock --chroot -- cmd arg1 arg2" use-case
  • site-defaults.cfg moved from /etc to %%doc, and the config file is now provided by mock-core-configs (GH#555)
  • bootstrap: expand dnf vars in local repo bind-mounts (#1815703)
  • bootstrap: bindmount local metalink/mirrorlist (#1816696)
  • config_opts['isolation'] option invented, replaces 'use_nspawn'
  • 'isolation' is now set to 'auto' (means 'nspawn' with fallback to 'simple', (GH#337, otaylor@fishsoup.net)
  • Fedora Toolbox && bootstrap - don't re-bind-mount dev files, and fix installation of filesystem.rpm from bootstrap to normal chroot (GH#550)
  • re-define %%python3_pkgversion on el7 (GH#545)
  • docker use-case: use getpass.getuser() instead of os.getlogin() (GH#551)
  • set LANG to C.UTF-8 by default, even if host has different value (GH#451)
  • bootstrap: use configured yum commands (GH#518, paul@city-fan.org)
  • fixup doubled-logs by predictable bootstrap resultdir (GH#539, #1805631)
  • fix --chain --isolation=simple with external URLs (GH#542)
  • option --orphanskill fixed for --isolation=simple --bootstrap-chroot
  • orphan processes are now also killed "postyum", right after the installation trasactions are executed to also kill daemons started from scriptlets (GH#183)
  • EL7 fix - use 'private' mount option for <bootsrap_root>/<root>, not 'rprivate'
  • ceanup rpmdb before checking installed packages (fixes builds against target chroots that have different rpmdb backend, e.g. SQLite on F33+)

mock-core-configs-32.6-1

  • the site-defaults.cfg file moved from mock to mock-core-configs
  • new option config_opts['isolation'], obsoletes 'use_nspawn'
  • declare minimal version of mock, and set this to v2.2 as we use the new 'isolation' config option now, and we provide site-defaults.cfg file
  • specify amazonlinux bootstrap image, to fix --use-bootstrap-image
  • allow to replace mock-core-configs by packages that 'Provides: mock-configs'
  • rpmlint: remove macro in comment

mock 2.1

  • depend on mock-core-configs >= 32.4
  • new build-time testsuite
  • accept return code 0 from rpmbuild -br (thrnciar@redhat.com)
  • bootstrap: bind-mount the inner root mount with rprivate
  • new ssl_ca_bundle_path option
  • chain: don't run buildroot.finalize() for each package
  • don't fail when /etc/pki certs are not found (frostyx@email.cz)
  • lvm_root: fix --scrub=all
  • exclude plugin compiled stuff packaged in sub-packages
  • keep trailing newlines in jinja expand
  • sign-plugin: use %%(rpms) variable expansion again
  • bootstrap: bind-mount also baseurl=/absolute/dir repos
  • 'dnf.conf' config is now equivalent to 'yum.conf'
  • don't emit unneeded warning for missing yum (remi@remirepo.net)
  • allow --install /usr/bin/time [GH#474] (miroslav@suchy.cz)

mock 32.4

  • disable package_state plugin for openmandriva 4.0/Cooker
  • Mageia 6 is EOL
  • opensuse: copy ssl ca bundle to correct path

mock

  • log reasons why src.rpm can not be installed into chroot
  • nspawn: non-interactive commands in chroot are executed with --pipe
  • bind mount local repos to bootstrap chroot (dturecek@redhat.com)
  • expand the generated config (includes) completely before passing it to eval() (sergio@serjux.com)
  • do not ignore cleanup_on_success when post_install is True (logans@cottsay.net)
  • fix fd resource-leak in 'mock --chain' (jcajka@redhat.com)
  • the --debug-config option only shows the differences from the mock's default configuration
  • do not expand jinja for --debug-config
  • don't use chroot.pkg_manager in podman case, we need to install from within the container
  • --use-bootstrap-image implies --bootstrap-chroot
  • drop python2 support from spec file, and code too
  • ammend man page and state that --dnf is the default now
  • rename --{old,new}-chroot to --isolation
  • turn ON the jinja rendering a bit earlier
  • pre-populate loop devices in nspawn chroot as with --isolation=chroot
  • deepcopy the plugin_conf options from chroot to bootstrap_chroot
  • simplified implementation of include() config option, accept relative files (jkadlcik@redhat.com, sergio@serjux.com)
  • lvm_root: fix volume removal in --scrub
  • bootstrap: don't install shadow-utils, and distribution-gpg-keys
  • make --sources optional for --buildsrpm mode (sisi.chlupova@gmail.com)
  • bootstrap: bind-mount normal chroot into bootstrap chroot recursively
  • add --scrub=bootstrap parameter (frostyx@email.cz)
  • don't clean bootstrap with --clean
  • do not call traceLog decorator when no tracing
  • pre-create builddir before changing it's owner, and when we have proper process privileges
  • copy /etc/pki/ca-trust/extracted into chroot [GH#397]
  • change default of 'package_manager' to 'dnf'
  • always copy distribution-gpg-keys into chroot [GH#308]
  • support DNF vars added [GH#346]
  • use jinja macros instead of python variable expansion
  • get the text representation of error code
  • --scrub=all also does --scrub=bootstrap (jkadlcik@redhat.com)
  • success/fail aren't created root-owned
  • compress_logs: setup defaults to 'gzip'
  • raise error for --localrepo without --chain
  • detect that forcearch can not work, and raise obvious error
  • drop unnecessary privilege escalations which only make unnecessary root-owned files
  • solve yum.conf vs. dnf.conf inconsistency in code and config
  • fix mockchain with --bootstrap-chroot (issue/469)
  • document 'mock --chain -c' in man page

mock-core-configs

  • solve yum.conf vs. dnf.conf inconsistency in config and code
  • add F32 configs and move rawhide to F33
  • make compatibility changes with mock 2.0
  • allow host overrides (build-time for now)
  • use jinja for gpgkey= in rawhide template
  • add rhel-{7,8}-s390x configs
  • drop rhel-8-ppc64, it was never supported
  • fix rhel-7 configs
  • update epel-8 config template to include modular repos as well as missing non-modular source repo (mmathesi@redhat.com)
  • drop for a long time useless epel-6-ppc64 config
  • use template for opensuse, openmandriva, mageia, epel, custom ...
  • fix epel-6.tpl config bug
  • set default podman image for centos-stream
  • remove aarch64 string from repo name in template [#1780977]
  • EOL F29 configs
  • fix rhelepel configs
  • allow including configs and templates from relative path (frostyx@email.cz)
  • configs: drop cost=2000 from fedora-31+-i386
  • add missing metadata_expire=0 to epel configs
  • change default of 'package_manager' to 'dnf', and use 'dnf.conf'
  • remove rhelbeta-8-*
  • fixed mageia, opensuse and mandriva configs
  • fixed fedora 31+ i386 configs

This update has been submitted for testing by praiskup.

3 years ago

praiskup edited this update.

3 years ago

praiskup edited this update.

3 years ago

This update's test gating status has been changed to 'ignored'.

3 years ago

praiskup edited this update.

3 years ago

This update has been pushed to testing.

3 years ago

praiskup edited this update.

New build(s):

  • mock-core-configs-32.5-1.el7

Removed build(s):

  • mock-core-configs-32.4-1.el7

Karma has been reset.

2 years ago

This update has been submitted for testing by praiskup.

2 years ago

This update has been pushed to testing.

2 years ago

praiskup edited this update.

2 years ago

praiskup edited this update.

2 years ago

praiskup edited this update.

New build(s):

  • mock-core-configs-32.6-1.el7
  • mock-2.2-1.el7

Removed build(s):

  • mock-2.1-1.el7
  • mock-core-configs-32.5-1.el7

Karma has been reset.

2 years ago

This update has been submitted for testing by praiskup.

2 years ago

praiskup edited this update.

2 years ago

praiskup edited this update.

2 years ago

This update's test gating status has been changed to 'greenwave_failed'.

2 years ago

This update's test gating status has been changed to 'ignored'.

2 years ago

This update has been pushed to testing.

2 years ago

This update can be pushed to stable now if the maintainer wishes

2 years ago
User Icon robert provided feedback 2 years ago
karma
User Icon robert provided feedback 2 years ago
karma

This update has been submitted for stable by praiskup.

2 years ago

This update has been pushed to stable.

2 years ago

Please login to add feedback.

Metadata
Type
bugfix
Karma
1
Signed
Content Type
RPM
Test Gating
Settings
Unstable by Karma
-4
Stable by Karma
5
Stable by Time
30 days
Dates
submitted
3 years ago
in testing
2 years ago
in stable
2 years ago
modified
2 years ago
BZ#1528414 util.py attempts to write into a non-existent directory, and fails
0
0
BZ#1672984 mock --buildsrpm requires --sources when there are zero sources in the spec file
0
0
BZ#1686945 Modern Fedora and RHEL8 beta need config_opts['use_bootstrap_container'] = True
0
0
BZ#1694420 [abrt] mock: rmtree(): util.py:231:rmtree:PermissionError: [Errno 13] Permission denied: '/var/lib/mock/fedora-29-x86_64/root/builddir/build/SOURCES'
0
0
BZ#1740421 selinux is preventing mock-1.4.17-1 from executing RPM scriptlets
0
0
BZ#1743843 Builds fail with use_bootstrap_container experimental feature enabled
0
0
BZ#1762728 [lvm] can't scrub volume
0
0
BZ#1767417 --forcearch doesn't warn/fail if you don't have qemu-user-static installed
0
0
BZ#1772598 use_bootstrap_image doesn't use proxy
0
0
BZ#1802930 unwanted output in quiet mode
0
0
BZ#1805179 Mock does not work with LVM plugin when bootstrap enabled
0
0
BZ#1806039 config_opts['yum.conf'] was changed to config_opts['dnf.conf'], breaking things
0
0
BZ#1806482 Doing `flatpak-module local-build` against mock-2 causes "ValueError: too deep jinja re-evaluation on '...'"
0
0
BZ#1806577 Macros for "sign" plugin are not expanded
0
0

Automated Test Results