coreos / coreos-assembler

Tooling container to assemble CoreOS-like systems
https://coreos.github.io/coreos-assembler/
Apache License 2.0
347 stars 168 forks source link

`--skip-config-archive` broken #3972

Closed mtalexan closed 3 days ago

mtalexan commented 6 days ago

Bug Report

The --skip-config-archive flag on the cmd-build currently breaks the build during final collection.
This was a bug introduced by the loose_objs rework.

Environment

What operating system is being used to run coreos-assembler? Any

What operating system is being assembled? Any

Is coreos-assembler running in Podman or Docker? Either, or neither.

If Podman, is coreos-assembler running privileged or unprivileged? Either.

Expected Behavior

Using --skip-config-archive to the cosa build command completes successfully without trying to create an archive of the src/config/ folder.

Actual Behavior

After the successful ostree build, the moving of loose_objs into the build output folder errors out trying to move a non-existent coreos-assember-config.tar.gz file.

Reproduction Steps

  1. cosa fetch
  2. cosa build --skip-config-archive

Other Information