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
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
blublu · virt-10/blublu@b69e7d2
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
fix: Take into account the use of URL query parameters by gmpinder ...
This should allow using query params for repo download URLs.
Jump to solution
5 Replies
Luke Skywunker
Luke Skywunker2mo ago
This looks like an actual bug in the module. Mind reporting it here? https://github.com/blue-build/modules/issues/new
GitHub
Build software better, together
GitHub is where people build software. More than 100 million people use GitHub to discover, fork, and contribute to over 420 million projects.
From An unknown user
From An unknown user
From An unknown user
Virt-io
Virt-ioOP2mo ago
GitHub
bug: rpm-ostree replace seems to break when repo has "?arch=x86_64"...
Using the replace option with a repo that has the following appended ?arch=x86_64, seems to break the module. Recipe: virt-10/blublu@7c2e7ed replace: - from-repo: https://copr.fedorainfracloud.org/...
Luke Skywunker
Luke Skywunker2mo ago
Thanks!
Solution
Luke Skywunker
Luke Skywunker2mo ago
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
fix: Take into account the use of URL query parameters by gmpinder ...
This should allow using query params for repo download URLs.
fiftydinar
fiftydinar2mo ago
Merged
Want results from more Discord servers?
Add your server