From df64134fc94ac93b1282d00b0be1bd9d48cd8104 Mon Sep 17 00:00:00 2001 From: Neil Hanlon Date: Thu, 7 Sep 2023 09:48:19 -0400 Subject: [PATCH] move oval generator; fix bug --- {sync => mangle/generators}/oval.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename {sync => mangle/generators}/oval.sh (93%) diff --git a/sync/oval.sh b/mangle/generators/oval.sh similarity index 93% rename from sync/oval.sh rename to mangle/generators/oval.sh index 607673b..1a99d6b 100644 --- a/sync/oval.sh +++ b/mangle/generators/oval.sh @@ -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