generated from ublue-os/base
-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Override copr plugin config to use fedora chroot by default (res…
…ubmission) (#665)
- Loading branch information
Showing
1 changed file
with
19 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# This override is to handle the default behavior of dnf5 using ID at /etc/os-release | ||
# to select which chroot gets used to fetch the copr repo. | ||
# | ||
# An example of the behavior displayed without this override in Bazzite: | ||
# sudo dnf5 copr enable ublue-os/bling | ||
# https://copr.fedorainfracloud.org/api_3/rpmrepo/ublue-os/bling/bazzite-41/ 100% | 946.0 B/s | 500.0 B | 00m01s | ||
# Chroot not found in the given Copr project (bazzite-41-x86_64). You can choose one of the available chroots explicitly: | ||
# fedora-38-x86_64 | ||
# fedora-39-x86_64 | ||
# fedora-40-x86_64 | ||
# fedora-41-x86_64 | ||
# fedora-rawhide-x86_64 | ||
# | ||
# See: | ||
# https://github.com/rpm-software-management/dnf5/blob/01d4df824ff4a94ae1fc288f81923d02ba71173a/dnf5-plugins/copr_plugin/copr_config.cpp#L79-L81 | ||
# https://github.com/rpm-software-management/dnf5/blob/01d4df824ff4a94ae1fc288f81923d02ba71173a/dnf5-plugins/copr_plugin/copr_repo.cpp#L146 | ||
|
||
[main] | ||
distribution = fedora |