Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions src/cmdlib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -759,13 +759,8 @@ else
fi
echo \$rc > ${rc_file}
if [ -n "\${cachedev}" ]; then
# XXX: brutal workaround for https://github.com/coreos/coreos-assembler/issues/3848
killall rofiles-fuse || :
/sbin/fstrim -v ${workdir}/cache
while ! mount -o remount,ro ${workdir}/cache; do
echo "failed to remount cache ro; retrying..." |& tee /dev/virtio-ports/cosa-cmdout
sleep 1
done
mount -o remount,ro ${workdir}/cache
fsfreeze -f ${workdir}/cache
fsfreeze -u ${workdir}/cache
umount ${workdir}/cache
Expand Down
Loading