move oval generator; fix bug

This commit is contained in:
Neil Hanlon 2023-09-07 09:48:19 -04:00
parent 87268e18a2
commit df64134fc9
Signed by: neil
GPG Key ID: 705BC21EC3C70F34

View File

@ -10,7 +10,7 @@ TEMP="$(mktemp -d)"
for version in 8 9; do
file="$TEMP/org.rockylinux.rlsa-$version.xml"
log "Generating $file"
podman run --rm --storage-opt ignore_chown_errors=true ghcr.io/rocky-linux/oval:latest > "$file"
podman run --rm --storage-opt ignore_chown_errors=true ghcr.io/rocky-linux/oval:latest -- $version > "$file"
log "Compressing $file to $file.bz"
bzip2 -kfz "$file"
done