Skip to content

Commit 89f78b4

Browse files
jlebonHuijingHei
authored andcommitted
Revert "cmdlib.sh: keep trying to remount after killall hack"
This reverts commit 5e7638f.
1 parent a42c24d commit 89f78b4

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/cmdlib.sh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -762,10 +762,7 @@ if [ -n "\${cachedev}" ]; then
762762
# XXX: brutal workaround for https://github.com/coreos/coreos-assembler/issues/3848
763763
killall rofiles-fuse || :
764764
/sbin/fstrim -v ${workdir}/cache
765-
while ! mount -o remount,ro ${workdir}/cache; do
766-
echo "failed to remount cache ro; retrying..." |& tee /dev/virtio-ports/cosa-cmdout
767-
sleep 1
768-
done
765+
mount -o remount,ro ${workdir}/cache
769766
fsfreeze -f ${workdir}/cache
770767
fsfreeze -u ${workdir}/cache
771768
umount ${workdir}/cache

0 commit comments

Comments
 (0)