Skip to content

Commit

Permalink
cmdlib: use ext4 for cache qcow2
Browse files Browse the repository at this point in the history
We think there might be some XFS reflink issues when we run
the OSBuild org.osbuild.qemu stage compression: false. See
coreos#3728 (comment)
  • Loading branch information
dustymabe committed Feb 15, 2024
1 parent d7dc943 commit e48e736
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmdlib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ runvm_with_cache_snapshot() {
(
# shellcheck source=src/libguestfish.sh
source /usr/lib/coreos-assembler/libguestfish.sh
virt-format --filesystem=xfs --label=cosa-cache -a cache2.qcow2.tmp)
virt-format --filesystem=ext4 --label=cosa-cache -a cache2.qcow2.tmp)
mv -T cache2.qcow2.tmp "${workdir}"/cache/cache2.qcow2
fi
# And remove the old one
Expand Down

0 comments on commit e48e736

Please sign in to comment.