Skip to content

Commit 49ce2cb

Browse files
Fix --skip-config-archive.
The --skip-config-archive skips creating the tar.gz of the src/config. However the changes to how files are collected failed to check this before hardcoding that the output file should be collected.
1 parent 3347c8b commit 49ce2cb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/cmd-build

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -633,7 +633,10 @@ loose_objs=()
633633
loose_objs+=("commitmeta.json" "ostree-commit-object")
634634
loose_objs+=("manifest-lock.generated.$basearch.json")
635635
# source metadata
636-
loose_objs+=("coreos-assembler-config-git.json" "coreos-assembler-config.tar.gz")
636+
loose_objs+=("coreos-assembler-config-git.json")
637+
if [ "${CONFIG_ARCHIVE}" != 0 ]; then
638+
loose_objs+=("coreos-assembler-config.tar.gz")
639+
fi
637640
mv -vt "${builddir}" "${loose_objs[@]}"
638641
# official more public artifacts; tracked by meta.json
639642
jq -r .images[].path meta.json | xargs mv -vt "${builddir}"

0 commit comments

Comments
 (0)