scripts: Try harder to 'hdiutil create' the .dmg

See https://github.com/actions/runner-images/issues/7522#issuecomment-2527820259
This commit is contained in:
Florian Bruhin 2024-12-10 10:31:47 +01:00
parent c0c3caead5
commit e7b346ecf2
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ $(TEMPLATE_DMG):
@echo
@echo --------------------- Generating empty template --------------------
mkdir template
hdiutil create -fs HFSX -layout SPUD -size $(TEMPLATE_SIZE) "$(TEMPLATE_DMG)" -srcfolder template -format UDRW -volname "$(NAME)" -quiet
for i in {1..30}; do hdiutil create -fs HFSX -layout SPUD -size $(TEMPLATE_SIZE) "$(TEMPLATE_DMG)" -srcfolder template -format UDRW -volname "$(NAME)" -quiet && break; sleep 2; done
rmdir template
$(WC_DMG): $(TEMPLATE_DMG)