File tree Expand file tree Collapse file tree 5 files changed +3
-4
lines changed Expand file tree Collapse file tree 5 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,6 @@ podman build \
51
51
BASE_ID=" $( sed s/sha256:// tmp/base.iid) "
52
52
${CFSCTL} oci pull containers-storage:${BASE_ID}
53
53
BASE_IMAGE_FSVERITY=" $( ${CFSCTL} oci create-image " ${BASE_ID} " ) "
54
- fsck.erofs " tmp/sysroot/composefs/images/${BASE_IMAGE_FSVERITY} "
55
54
56
55
mkdir -p " tmp/sysroot/state/${BASE_IMAGE_FSVERITY} /etc/work"
57
56
mkdir -p " tmp/sysroot/state/${BASE_IMAGE_FSVERITY} /etc/upper"
Original file line number Diff line number Diff line change 4
4
5
5
output=" $1 "
6
6
7
+ # check that the image doesn't have errors
8
+ fsck.erofs tmp/sysroot/composefs/images/*
9
+
7
10
fakeroot " ${0%/* } /run-repart" tmp/image.raw
8
11
qemu-img convert -f raw tmp/image.raw -O qcow2 " ${output} "
9
12
rm tmp/image.raw
Original file line number Diff line number Diff line change @@ -55,7 +55,6 @@ ${PODMAN_BUILD} \
55
55
FINAL_ID=" $( sed s/sha256:// tmp/final.iid) "
56
56
${CFSCTL} oci pull containers-storage:" ${FINAL_ID} "
57
57
FINAL_IMAGE_FSVERITY=" $( ${CFSCTL} oci create-image " ${FINAL_ID} " ) "
58
- fsck.erofs " tmp/sysroot/composefs/images/${FINAL_IMAGE_FSVERITY} "
59
58
60
59
# # IMPORTANT: the filesystems of the base and final images are identical
61
60
test " ${BASE_IMAGE_FSVERITY} " = " ${FINAL_IMAGE_FSVERITY} "
Original file line number Diff line number Diff line change @@ -49,7 +49,6 @@ podman build \
49
49
IMAGE_ID=" $( sed s/sha256:// tmp/iid) "
50
50
${CFSCTL} oci pull containers-storage:" ${IMAGE_ID} "
51
51
IMAGE_FSVERITY=" $( ${CFSCTL} oci create-image " ${IMAGE_ID} " ) "
52
- fsck.erofs " tmp/sysroot/composefs/images/${IMAGE_FSVERITY} "
53
52
54
53
mkdir -p " tmp/sysroot/state/${IMAGE_FSVERITY} /etc/work"
55
54
mkdir -p " tmp/sysroot/state/${IMAGE_FSVERITY} /etc/upper"
Original file line number Diff line number Diff line change @@ -31,7 +31,6 @@ podman build \
31
31
IMAGE_ID=" $( sed s/sha256:// tmp/iid) "
32
32
${CFSCTL} oci pull containers-storage:" ${IMAGE_ID} "
33
33
IMAGE_FSVERITY=" $( ${CFSCTL} oci create-image " ${IMAGE_ID} " ) "
34
- fsck.erofs " tmp/sysroot/composefs/images/${IMAGE_FSVERITY} "
35
34
36
35
mkdir -p " tmp/sysroot/state/${IMAGE_FSVERITY} /etc/work"
37
36
mkdir -p " tmp/sysroot/state/${IMAGE_FSVERITY} /etc/upper"
You can’t perform that action at this time.
0 commit comments