Skip to content

Commit 31a90d0

Browse files
committed
osbuild: pause using container-storage for builds
Using container storage in the supermin VM was first introduced in 9190a34. This was a nice optimization but it's causing issues where the digest of the deployed container within the bootimages is different than what is in our metadata and what is pushed to the registry. See coreos/fedora-coreos-tracker#2066 for more information.
1 parent eef1c19 commit 31a90d0

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

src/runvm-osbuild

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,14 @@ extra_kargs=$(getconfig "extra-kargs-string" "")
7676
# if it exists then let's check here to see if the container exists
7777
# in local container storage. If it does then we'll just pass that
7878
# and not pass any ociarchive info into the build.
79-
if podman image exists "${container_repo}:${container_tag}"; then
80-
ostree_container=""
81-
fi
79+
#
80+
# XXX: Disabling this for now as it ends up with inconsistent digests
81+
# in our deployed bootimages versus what's pushed to the registry
82+
# and is causing zincati to not work.
83+
# https://github.com/coreos/fedora-coreos-tracker/issues/2066
84+
#if podman image exists "${container_repo}:${container_tag}"; then
85+
# ostree_container=""
86+
#fi
8287

8388
# Since it doesn't exist create loop-control
8489
[ ! -e /dev/loop-control ] && mknod /dev/loop-control c 10 237

0 commit comments

Comments
 (0)