Installing from local rpm packages?
Can I install a local .rpm with bluebuild or is this not possible and/or bad practice?
Solution:Jump to solution
That works and is supported, take a look at the documentation for the dnf module:
https://blue-build.org/reference/modules/dnf/...
8 Replies
Solution
That works and is supported, take a look at the documentation for the dnf module:
https://blue-build.org/reference/modules/dnf/
is the
%OS_VERSION%
variable set out of the box?Yes, I believe so (although I never tried it)
Yes it is
ohhh that's the version of fedora, not the arch it's building for
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 scriptsah, so I could run a script that does the installation instead of adding it to the packages in the recipe?
Yeah if you want to