rpm-ostree replace

Using the replace option with a repo that has the following appended ?arch=x86_64, seems to break the module.

    replace:
      - from-repo: https://copr.fedorainfracloud.org/coprs/kylegospo/bazzite-multilib/repo/fedora-%OS_VERSION%/kylegospo-bazzite-multilib-fedora-%OS_VERSION%.repo?arch=x86_64
        packages:
          - pkg


rm: cannot remove '/etc/yum.repos.d/kylegospo-bazzite-multilib-fedora-40.repo?arch=x86_64': No such file or directory

build log:
https://github.com/virt-10/blublu/actions/runs/11418721166/job/31772495408
GitHub
Contribute to virt-10/blublu development by creating an account on GitHub.
Solution
Got the fix out in a PR (https://github.com/blue-build/modules/pull/351) and I tested the change on your recipe at that point in time. It appears to solve the issue
GitHub
This should allow using query params for repo download URLs.
Was this page helpful?