forked from rpm-software-management/mock
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix missing Release Notes and bump config->mock requirement
- Loading branch information
Showing
9 changed files
with
39 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
releng/release-notes-next/init-and-ownership-problems.bugfix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
Mock [has been][PR#1322] [fixed][commit#27dde5da] so that it no longer | ||
inadvertently changes the group ownership of the in-chroot $HOME directory | ||
to the wrong group ID. In previous versions of Mock, the group ownership | ||
was changed to the effective group ID of the user on the host that | ||
executed Mock. This could confuse some tools during the build process, as | ||
they might want to create similarly owned files at the `rpmbuild` time | ||
(but that assumption would be incorrect, such GID doesn't exist | ||
in-chroot). Now, Mock changes the files to the `mockbuild:mock` | ||
ownership, where the `mock` group ID is always 135 (the same GID on host | ||
and in-chroot). This matches the effective GID for the `rpmbuild` | ||
process, ensuring that the tools executed during the build process have | ||
full control over such files. | ||
|
||
While on this, Mock was also [optimized][commit#db64d468202] to do this | ||
ownership change before, and only if, the `rpmbuild` process is started | ||
(so e.g. plain `mock --chroot` commands do not touch the file ownership at | ||
all). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Mageia 7 configs [marked as end-of-live][PR#1316]. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Mageia config files started using the `{{ repo_arch }}` option to fix the | ||
[cross-arch builds][issue#1317]. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
The OpenMandriva i686 chroots [have been marked as end-of-life][PR#1315], fixing | ||
[issue#987][] and [issue#1012][]. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
The `mock` package has been fixed to depend on precisely the same version | ||
of `mock-filesystem` sub-package (product of the same rpm build). This is | ||
to protect against incompatible Mock sub-package installations. |
9 changes: 9 additions & 0 deletions
9
releng/release-notes-next/percent-inerpolation-in-dnf-config.bugfix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Mock parses the DNF configuration specified in `config_opts["dnf.conf"]` itself | ||
to perform some post-processing tasks, such as bind-mounting the on-host repo | ||
directories into the bootstrap chroot based on this DNF config. In previous | ||
versions of Mock, there was an issue where it failed to parse the DNF config if | ||
some of the DNF options contained the '%' symbol. This was due to Python's | ||
ConfigParser raising an %-interpolation exception that was ignored but Mock, but | ||
resulting in Mock ignoring the rest of the config file and finishing without | ||
performing the mentioned bind-mounts. This bug has been fixed, and the '%' sign | ||
is no longer considered to be a special Python ConfigParser character. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters