Rare detach_disk failures can still occur even after 10 attempts. Increasing the sleep duration to 5 seconds reduces the likelihood of these intermittent failures.
Move macOS installer image creation logic from GitHub workflow file to a dedicated shell script `mkmaciso` for better maintainability and reusability. Changes: - Add support for legacy macOS versions: - 10.7 (Lion) - 10.8 (Mountain Lion) - 10.9 (Mavericks) - 10.10 (Yosemite) - 10.11 (El Capitan) - 10.12 (Sierra) - Simplify workflow to call external script - Enable running `mkmaciso` locally without GitHub Actions