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