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
Jany4mo 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/devOP4mo ago
is the %OS_VERSION% variable set out of the box?
Jany
Jany4mo ago
Yes, I believe so (although I never tried it)
Luke Skywunker
Luke Skywunker4mo ago
Yes it is
game_r/dev
game_r/devOP4mo ago
ohhh that's the version of fedora, not the arch it's building for
Luke Skywunker
Luke Skywunker4mo ago
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/devOP4mo ago
ah, so I could run a script that does the installation instead of adding it to the packages in the recipe?
Luke Skywunker
Luke Skywunker4mo ago
Yeah if you want to

Did you find this page helpful?