Fix mock: override root name after include to prevent cache collision
The included alma+epel-10-x86_64.cfg sets config_opts['root'], which overrides --root custom and causes mock to reuse the old cached chroot where mockbuild user was missing. Explicitly set config_opts['root'] after the include to force a fresh custom root.
This commit is contained in:
parent
7ba22c2249
commit
8d06d0d2e8
1 changed files with 1 additions and 0 deletions
|
|
@ -52,6 +52,7 @@ jobs:
|
|||
run: |
|
||||
cat > /tmp/mock-custom.cfg <<'MOCKEOF'
|
||||
include('/etc/mock/alma+epel-10-x86_64.cfg')
|
||||
config_opts['root'] = 'custom'
|
||||
config_opts['yum.conf'] += """
|
||||
[sonicde-rpm]
|
||||
name=SonicDE RPM
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue