Installing from local rpm packages?

Can I install a local .rpm with bluebuild or is this not possible and/or bad practice?
Solution:
That works and is supported, take a look at the documentation for the dnf module: https://blue-build.org/reference/modules/dnf/...
BlueBuild
dnf
The dnf module offers pseudo-declarative package and repository management using dnf.
Jump to solution
8 Replies
Solution
Jany
Jany5d ago
That works and is supported, take a look at the documentation for the dnf module: https://blue-build.org/reference/modules/dnf/
BlueBuild
dnf
The dnf module offers pseudo-declarative package and repository management using dnf.
game_r/dev
game_r/devOP5d ago
is the %OS_VERSION% variable set out of the box?
Jany
Jany5d ago
Yes, I believe so (although I never tried it)
Luke Skywunker
Yes it is
game_r/dev
game_r/devOP5d ago
ohhh that's the version of fedora, not the arch it's building for
Luke Skywunker
Oh yeah, I guess we don't have that as a magic string I've been looking into methods of allowing the use of env variables on the inputs using envsubst Though we do set OS_ARCH as an env var that is available to scripts
game_r/dev
game_r/devOP5d ago
ah, so I could run a script that does the installation instead of adding it to the packages in the recipe?
Luke Skywunker
Yeah if you want to

Did you find this page helpful?