Skip to content

releng: new Mock+Configs release #1582

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 22, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ COPY mock/ /home/user/mock
RUN chown -R user:user /home/user/mock
USER user
WORKDIR /home/user/mock/mock-core-configs
RUN tito build --rpm
RUN tito build --test --rpm
WORKDIR /home/user/mock/mock
RUN tito build --test --rpm
USER root
Expand Down
2 changes: 1 addition & 1 deletion .tito/packages/mock
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.1-1 mock/
6.2-1 mock/
2 changes: 1 addition & 1 deletion .tito/packages/mock-core-configs
Original file line number Diff line number Diff line change
@@ -1 +1 @@
42.2-1 mock-core-configs/
42.3-1 mock-core-configs/
54 changes: 54 additions & 0 deletions docs/Release-Notes-6.2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
---
layout: default
title: Release Notes - Mock 6.2
---

## [Release 6.2](https://rpm-software-management.github.io/mock/Release-Notes-6.2) - 2025-05-22


### New features

- Disables copying /etc/pki/ca-trust and /usr/share/pki/ca-trust-source on
Azure Linux 3.0 via a new config options ('ssl_copied_ca_trust_dirs').
This avoids file ownership conflicts with a symlink installed by the
ca-certificates-shared packages on that distro. Behavior should be unchanged
for other configurations.

### Bugfixes

- Mock will now fall back smoothly to chroot installation by DNF if Podman
image pull fails entirely.


### Mock Core Configs changes

- Mock chroots for RHEL 10 and RHEL+EPEL 10 have been added.

- Fedora 40 is now
[EOL](https://fedorapeople.org/groups/schedule/f-40/f-40-key-tasks.html), and
we marked Fedora 40 configuration EOL, too.

- The EPEL 10 configuration has been updated to have separate templates
available for use on CentOS Stream 10 (epel-10.tpl) and RHEL 10
(epel-z-10.tpl). Relates to [issue#1427][].

- Update the list of packages installed by default in the Azure Linux 2 & 3
chroot to include shadow-utils. Due to recent changes, the useradd/groupadd
commands are required by other packages in the list, but the requirements are
not specified correctly. Add %dist macro to the Azure Linux 3 template.

- The openSuse Leap 15.6 is now correctly using a bootstrap image of Leap 15.6.
The Leap configurations now refer to bootstrap images using the $releasever
value, instead of hardcoding, to avoid potential misalignment in the future.


#### The following contributors have contributed to this release:

- Adam Williamson
- Carl George
- Reuben Olinsky
- Simone Caronni

Thank You!

[issue#1427]: https://github.com/rpm-software-management/mock/issues/1427
1 change: 1 addition & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ Versions in Linux distributions:


## Release Notes
* [6.2 and Configs 42.2](Release-Notes-6.2) (2025-05-22) - RHEL 10 configuration, configurable ca-trust paths that Mock copies to chroots.
* [6.1 and Configs 42.1](Release-Notes-6.1) (2025-02-27) - more hermetic-build improvements, AlmaLinux Kitten 10, Azure Linux 2.0 and 3.0, Kylin 10, Navy Linux 8, openSUSE Leap 15.6
* [Configs 42.1](Release-Notes-Configs-42.1) (2025-01-16) - Fedora 42 branched.
* [6.0 and Configs 41.5](Release-Notes-6.0) (2024-12-19) - New OCI image support for buildroot, hermetic build mode fixes, Fedora 39 EOL.
Expand Down
11 changes: 10 additions & 1 deletion mock-core-configs/mock-core-configs.spec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
%endif

Name: mock-core-configs
Version: 42.2
Version: 42.3
Release: 1%{?dist}
Summary: Mock core config files basic chroots

Expand Down Expand Up @@ -153,6 +153,15 @@ fi
%ghost %config(noreplace,missingok) %{_sysconfdir}/mock/default.cfg

%changelog
* Thu May 22 2025 Pavel Raiskup <[email protected]> 42.3-1
- Fedora 40 EOL
- Add RHEL 10 template and configs ([email protected])
- disable copying ca-trust dirs with Azure Linux 3 ([email protected])
- Add epel-z-10 template ([email protected])
- Update Azure Linux configurations ([email protected])
- make opensuse-leap-15.5.tpl eol
- fix the leap image reference to 15.6

* Thu Feb 27 2025 Miroslav Suchý <[email protected]> 42.2-1
- fix: expand Oracle Linux distro_id from ol to oraclelinux
([email protected])
Expand Down
6 changes: 5 additions & 1 deletion mock/mock.spec
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

Summary: Builds packages inside chroots
Name: mock
Version: 6.1
Version: 6.2
Release: 1%{?dist}
License: GPL-2.0-or-later
# Source is created by
Expand Down Expand Up @@ -330,6 +330,10 @@ pylint-3 py/mockbuild/ py/*.py py/mockbuild/plugins/* || :
%config(noreplace) %{_sysusersdir}/mock.conf

%changelog
* Thu May 22 2025 Pavel Raiskup <[email protected]> 6.2-1
- disable copying ca-trust dirs with Azure Linux 3 ([email protected])
- bail clearly when image pull fails ([email protected])

* Thu Feb 27 2025 Miroslav Suchý <[email protected]> 6.1-1
- bootstrap: automatically bind-mount local --additional-package
([email protected])
Expand Down
5 changes: 0 additions & 5 deletions releng/release-notes-next/azure-linux-ca-trust.bugfix

This file was deleted.

2 changes: 0 additions & 2 deletions releng/release-notes-next/azure-linux.config

This file was deleted.

3 changes: 0 additions & 3 deletions releng/release-notes-next/epel10-separate-templates.config

This file was deleted.

2 changes: 0 additions & 2 deletions releng/release-notes-next/f40-eol.config

This file was deleted.

3 changes: 0 additions & 3 deletions releng/release-notes-next/leap-image-tepmlated.config

This file was deleted.

1 change: 0 additions & 1 deletion releng/release-notes-next/podman-pull-fallback.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion releng/release-notes-next/rhel10.config

This file was deleted.

Loading