• plugin PackageState is now enabled by default and it has new options. By default this plugin now generate list of installed packages. List of available packages is disabled by default.
  • Fedora 25 configs has been added
  • GPG keys in configs are now used from package distribution-gpg-keys. Keys in /etc/pki/mock will be still shipped for some time, so we do not break old user config. But new one will not be added and users are encouraged to migrate their paths to GPG keys.
  • you can include some other config using: include('/path/to/config/to/be/included/include.cfg')
  • there is new option available which will install those additional package to minimal chroot. This is extension of already existing option chroot_setup_cmd. It was added to easy automated changed of minimal buildroot in Copr.: config_opts['chroot_additional_packages'] = 'some_package other_package'

How to install

sudo dnf upgrade --advisory=FEDORA-2016-6ba1c57742

This update has been submitted for testing by msuchy.

5 years ago

This update has been pushed to testing.

5 years ago
User Icon torsava commented & provided feedback 5 years ago
karma

Works great!

User Icon torsava commented & provided feedback 5 years ago
karma

Building SRPMs in mock target Fedora 24 and rawhide goes fine. But when building in target Fedora 25, the buildroot fails to initialize:

Error: Package which-2.21-1.fc25.x86_64.rpm is not signed ERROR: Exception(python3-pyPEG2-2.15.2-2.fc26.src.rpm) Config(fedora-25-x86_64) 0 minutes 5 seconds INFO: Results and/or logs in: /var/lib/mock/fedora-25-x86_64/result ERROR: Command failed. See logs for output. # /usr/bin/dnf --installroot /var/lib/mock/fedora-25-x86_64/root/ --releasever 25 --disableplugin=local --setopt=deltarpm=false install @buildsys-build --setopt=tsflags=nocontexts

User Icon msuchy commented & provided feedback 5 years ago
User Icon torsava commented & provided feedback 5 years ago

Hm, so rel-eng answered on the ticket that all packages are signed, but perhaps some mirrors are still catching up.


I tried again today, and still can't initialize the buildroot. Today it's a different unsigned package however.


Error: Package bash-4.3.43-1.fc25.x86_64.rpm is not signed ERROR: Exception(python3-pyPEG2-2.15.2-2.fc26.src.rpm) Config(fedora-25-x86_64) 0 minutes 8 seconds INFO: Results and/or logs in: /var/lib/mock/fedora-25-x86_64/result ERROR: Command failed. See logs for output. # /usr/bin/dnf --installroot /var/lib/mock/fedora-25-x86_64/root/ --releasever 25 --disableplugin=local --setopt=deltarpm=false install @buildsys-build --setopt=tsflags=nocontexts

msuchy edited this update.

New build(s):

  • mock-1.2.20-1.fc23

Removed build(s):

  • mock-1.2.19-2.fc23
5 years ago

This update has been submitted for testing by msuchy.

5 years ago

This update has been pushed to testing.

5 years ago
User Icon torsava commented & provided feedback 5 years ago
karma

Fedora 25 mock now works!

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

5 years ago
User Icon sergiomb commented & provided feedback 5 years ago
karma

yeah Fedora 25 mock now works! [1] also didn't see regressions . Thanks [1] https://bugzilla.redhat.com/show_bug.cgi?id=1364754

This update has been submitted for stable by msuchy.

5 years ago

This update has been pushed to stable.

5 years ago

Please login to add feedback.

Metadata
Type
bugfix
Karma
2
Signed
Content Type
RPM
Test Gating
Settings
Unstable by Karma
-3
Stable by Karma
3
Stable by Time
disabled
Dates
submitted
5 years ago
in testing
5 years ago
in stable
5 years ago
modified
5 years ago
BZ#1264508 mock --new-chroot + --cwd + --chroot incorrect behavior
0
0
BZ#1272381 RFE: implement "include" statement for mock config files
0
0
BZ#1277187 Packages NVRs missing in the root.log if populated from the cache
0
0
BZ#1298220 --unpriv does not work together with --new-chroot
0
0
BZ#1358397 unable to update /etc/mock/default.cfg
0
0
BZ#1362478 package state plugin error: SubprocessError
0
0

Automated Test Results