Build failure migrating from `rpm-ostree` to `dnf`

I feel like I'm missing a simple step for enabling the dnf module (migrating away from rpm-ostree). My builds are failing due to: chmod: cannot access '/tmp/modules/dnf/dnf.sh': No such file or directory Anyone seen this kind of error before? - See https://github.com/michaelhaaf/bluebuild-custom/actions/runs/15807967892/job/44555389767#step:2:3440 for the failed build logs - See https://github.com/michaelhaaf/bluebuild-custom/blob/main/recipes/recipe-combined.yml for the entire recipe file - See https://github.com/michaelhaaf/bluebuild-custom/blob/main/recipes/common/packages.yml for an example dnf module
Solution:
you have a dependabot PR waiting that will also do this change for you https://github.com/michaelhaaf/bluebuild-custom/pull/11
GitHub
chore(deps): bump blue-build/github-action from 1.6 to 1.8 by depen...
Bumps blue-build/github-action from 1.6 to 1.8. Release notes Sourced from blue-build/github-action's releases. v1.8.0 1.8.0 (2024-12-03) CLI Updated to v0.9.0. Read the blog post. Featur...
Jump to solution
4 Replies
xyny
xyny3mo ago
nothing seems to be wrong with your usage of the dnf module, this just seems to me like your build is running a CLI version so old that it doesn't support this type of module lol try changing this line to uses: blue-build/github-action@v1.8
Solution
xyny
xyny3mo ago
you have a dependabot PR waiting that will also do this change for you https://github.com/michaelhaaf/bluebuild-custom/pull/11
GitHub
chore(deps): bump blue-build/github-action from 1.6 to 1.8 by depen...
Bumps blue-build/github-action from 1.6 to 1.8. Release notes Sourced from blue-build/github-action's releases. v1.8.0 1.8.0 (2024-12-03) CLI Updated to v0.9.0. Read the blog post. Featur...
xyny
xyny3mo ago
merging these is recommended
michaelhaaf
michaelhaafOP3mo ago
this is exactly the kind of obvious thing i figured i had missed, thanks @xyny

Did you find this page helpful?