Skip to content

bug: "make collect-firmware-refvals" failing with "jq: error (at <stdin>:1): Cannot iterate over null (null)" #102

Description

@acancell-redhat
$ make collect-firmware-refvals
...
Extracting reference values...
jq: error (at <stdin>:1): Cannot iterate over null (null)
make: *** [Makefile:23: collect-firmware-refvals] Error 5

I worrked around the error changing lines 177-178 of scripts/collect-firmware-refvals.sh to:

yq -r '.data.reference_value' "$TEMP_DIR/rvps-reference-values.yaml" | \
  jq 'map_values(@base64d | fromjson)' > "$OUTPUT_FILE"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions