Skip to content

Commit

Permalink
build: Always pass --format-version to rpm-ostree
Browse files Browse the repository at this point in the history
It was intended to be optional, but our dynamic detection
of the availability of the option masked that bug.

This now bites us with the new rpm-ostree.
  • Loading branch information
cgwalters authored and dustymabe committed Jul 20, 2022
1 parent a1fc483 commit 710fabf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmd-build
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ else
oci) ;;
# Note rpm-ostree always copies the rpmostree.inputhash key
oci-chunked)
cmd=(rpm-ostree container-encapsulate --max-layers="$MAX_OSTREECONTAINER_LAYERS")
cmd=(rpm-ostree container-encapsulate --max-layers="$MAX_OSTREECONTAINER_LAYERS" --format-version=0)
;;
oci-chunked-v1)
cmd=(rpm-ostree container-encapsulate --max-layers="$MAX_OSTREECONTAINER_LAYERS" --format-version=1)
Expand Down

0 comments on commit 710fabf

Please sign in to comment.