https://blue-build.org/ logo
OS_VERSION in recipe.yml
# questions
a
https://blue-build.org/reference/recipe/ while defining the rpm-ostree module in reciple.yml it refers to %OS_VERSION% in the from section like so
Copy code
- type: rpm-ostree
    repos:
      - https://copr.fedorainfracloud.org/coprs/antiderivative/libfprint-tod-goodix-0.0.9/repo/fedora-%OS_VERSION%/antiderivative-libfprint-tod-goodix-0.0.9-fedora-%OS_VERSION%.repo
my question is, is that a placeholder or it automatically gets replaced in the build pipeline
a
message has been deleted
a
here's the entire module
Copy code
yaml
  - type: rpm-ostree
    repos:
      - https://copr.fedorainfracloud.org/coprs/antiderivative/libfprint-tod-goodix-0.0.9/repo/fedora-%OS_VERSION%/antiderivative-libfprint-tod-goodix-0.0.9-fedora-%OS_VERSION%.repo
    replace:
      - from-repo: https://copr.fedorainfracloud.org/coprs/antiderivative/libfprint-tod-goodix-0.0.9/repo/fedora-%OS_VERSION%/antiderivative-libfprint-tod-goodix-0.0.9-fedora-%OS_VERSION%.repo
        packages:
          - libfprint-tod
    remove:
      - libfprint
    install:
      - libfprint-tod-goodix
the ``%OS_VERSION%`` magic string only work in ``repos`` or it works in ``--from-repo`` also?
x
it gets automatically replaced
it should work anywhere in the module i think
including install: if you want to install from an URL
try it!
a
Yeah, thanks for clarifying, got it to work.