-
Notifications
You must be signed in to change notification settings - Fork 158
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
As per coreos/fedora-coreos-tracker#1687, we will for now add `dnf5` to the rawhide stream to test it out and re-evaluate at branching. It's not the default yet in f41, so doesn't own the `dnf` executable name. Manually add a symlink to make playing with it more natural.
- Loading branch information
Showing
3 changed files
with
23 additions
and
1 deletion.
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,3 @@ | ||
exclude-packages: | ||
- dnf | ||
- dnf5 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
packages: | ||
- dnf5 | ||
|
||
# until dnf5 becomes the default, manually symlink to dnf5 | ||
postprocess: | ||
- | | ||
#!/usr/bin/bash | ||
set -euo pipefail | ||
if command -v dnf; then | ||
echo 'dnf5 is now the default, remove this postprocess script!' >&2 | ||
exit 1 | ||
fi | ||
ln -s dnf5 /usr/bin/dnf |