Skip to content

Commit

Permalink
Revert "cmdlib.sh: keep trying to remount after killall hack"
Browse files Browse the repository at this point in the history
This reverts commit 5e7638f.
  • Loading branch information
jlebon authored and HuijingHei committed Sep 5, 2024
1 parent a42c24d commit 89f78b4
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/cmdlib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -762,10 +762,7 @@ 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

0 comments on commit 89f78b4

Please sign in to comment.