From 972be85fb5b40d3764140a8a0462baa292644941 Mon Sep 17 00:00:00 2001 From: Andrew Engelbrecht Date: Wed, 23 Sep 2020 17:14:47 -0400 Subject: [PATCH] sleep before unmounting, to avoid race condition --- install-extras.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/install-extras.sh b/install-extras.sh index 2c966ad..20ecf69 100755 --- a/install-extras.sh +++ b/install-extras.sh @@ -136,6 +136,9 @@ cp -vr $ISOTMP/* $DEVTMP/source/ || true ### +sync +sleep 3 + umount $DEVTMP umount $ISOTMP -- 2.25.1