File tree Expand file tree Collapse file tree 4 files changed +5
-10
lines changed Expand file tree Collapse file tree 4 files changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -49,8 +49,7 @@ podman build \
4949 .
5050
5151BASE_ID=" $( sed s/sha256:// tmp/base.iid) "
52- podman save --format oci-archive -o tmp/base.tar " ${BASE_ID} "
53- ${CFSCTL} oci pull oci-archive:tmp/base.tar
52+ ${CFSCTL} oci pull containers-storage:${BASE_ID}
5453BASE_IMAGE_FSVERITY=" $( ${CFSCTL} oci create-image " ${BASE_ID} " ) "
5554fsck.erofs " tmp/sysroot/composefs/images/${BASE_IMAGE_FSVERITY} "
5655
Original file line number Diff line number Diff line change @@ -41,8 +41,7 @@ ${PODMAN_BUILD} \
4141 .
4242
4343BASE_ID=" $( sed s/sha256:// tmp/base.iid) "
44- podman save --format oci-archive -o tmp/base.tar " ${BASE_ID} "
45- ${CFSCTL} oci pull oci-archive:tmp/base.tar
44+ ${CFSCTL} oci pull containers-storage:" ${BASE_ID} "
4645BASE_IMAGE_FSVERITY=" $( ${CFSCTL} oci create-image " ${BASE_ID} " ) "
4746
4847${PODMAN_BUILD} \
@@ -54,8 +53,7 @@ ${PODMAN_BUILD} \
5453 .
5554
5655FINAL_ID=" $( sed s/sha256:// tmp/final.iid) "
57- podman save --format oci-archive -o tmp/final.tar " ${FINAL_ID} "
58- ${CFSCTL} oci pull oci-archive:tmp/final.tar
56+ ${CFSCTL} oci pull containers-storage:" ${FINAL_ID} "
5957FINAL_IMAGE_FSVERITY=" $( ${CFSCTL} oci create-image " ${FINAL_ID} " ) "
6058fsck.erofs " tmp/sysroot/composefs/images/${FINAL_IMAGE_FSVERITY} "
6159
Original file line number Diff line number Diff line change @@ -47,8 +47,7 @@ podman build \
4747 .
4848
4949IMAGE_ID=" $( sed s/sha256:// tmp/iid) "
50- podman save --format oci-archive -o tmp/final.tar " ${IMAGE_ID} "
51- ${CFSCTL} oci pull oci-archive:tmp/final.tar
50+ ${CFSCTL} oci pull containers-storage:" ${IMAGE_ID} "
5251IMAGE_FSVERITY=" $( ${CFSCTL} oci create-image " ${IMAGE_ID} " ) "
5352fsck.erofs " tmp/sysroot/composefs/images/${IMAGE_FSVERITY} "
5453
Original file line number Diff line number Diff line change @@ -29,8 +29,7 @@ podman build \
2929 .
3030
3131IMAGE_ID=" $( sed s/sha256:// tmp/iid) "
32- podman save --format oci-archive -o tmp/final.tar " ${IMAGE_ID} "
33- ${CFSCTL} oci pull oci-archive:tmp/final.tar
32+ ${CFSCTL} oci pull containers-storage:" ${IMAGE_ID} "
3433IMAGE_FSVERITY=" $( ${CFSCTL} oci create-image " ${IMAGE_ID} " ) "
3534fsck.erofs " tmp/sysroot/composefs/images/${IMAGE_FSVERITY} "
3635
You can’t perform that action at this time.
0 commit comments