Skip to content

Commit

Permalink
manifests/fedora-ostree-native-container: bump max_layers to 4
Browse files Browse the repository at this point in the history
rpm-ostree crashes when max_layers is set to <4. Work around that
by bumping the max_layers argument.

See coreos/rpm-ostree#4530
  • Loading branch information
ondrejbudai authored and supakeen committed Aug 8, 2023
1 parent 6e254c9 commit c47850b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/data/manifests/fedora-ostree-native-container.json
Original file line number Diff line number Diff line change
Expand Up @@ -1040,7 +1040,7 @@
"type": "org.osbuild.ostree.encapsulate",
"options": {
"filename": "ostree-container.tar",
"max_layers": 1
"max_layers": 4
},
"inputs": {
"commit": {
Expand Down
4 changes: 3 additions & 1 deletion test/data/manifests/fedora-ostree-native-container.mpp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ pipelines:
- type: org.osbuild.ostree.encapsulate
options:
filename: ostree-container.tar
max_layers: 1
# max_layers < 4 is currently broken (or unsupported)
# see https://github.com/coreos/rpm-ostree/issues/4530
max_layers: 4
inputs:
commit:
type: org.osbuild.ostree
Expand Down

0 comments on commit c47850b

Please sign in to comment.