Commit fc6aa28b authored by Ned Deily's avatar Ned Deily Committed by GitHub

Mitigate macOS race condition in installer build (GH-6686)

parent 0dd80709
......@@ -1524,6 +1524,10 @@ def buildDMG():
shellQuote(os.path.join(WORKDIR, 'installer')),
shellQuote(imagepath + ".tmp.dmg" )))
# Try to mitigate race condition in certain versions of macOS, e.g. 10.9,
# when hdiutil fails with "Resource busy"
time.sleep(10)
if not os.path.exists(os.path.join(WORKDIR, "mnt")):
os.mkdir(os.path.join(WORKDIR, "mnt"))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment