From af9408d9aec749e515293c87f7fec2f7634acae3 Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Mon, 6 Sep 2021 16:22:15 +0200 Subject: [PATCH] macOS: Fix creation of disk image with universal builds Our universal Qt Creator build can be larger than 1 GB. Increase maximum size of disk image. Change-Id: I055e891f7da8e3c9db99a7b4b2d703cca594c22a Reviewed-by: Eike Ziller --- scripts/makedmg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/makedmg.py b/scripts/makedmg.py index 7911a1be000..fa0d4719ecf 100755 --- a/scripts/makedmg.py +++ b/scripts/makedmg.py @@ -54,7 +54,7 @@ def main(): os.symlink('/Applications', os.path.join(tempdir, 'Applications')) shutil.copy(os.path.join(arguments.source_directory, 'LICENSE.GPL3-EXCEPT'), tempdir) dmg_cmd = ['hdiutil', 'create', '-srcfolder', tempdir, '-volname', arguments.dmg_volumename, - '-format', 'UDBZ', arguments.target_diskimage, '-ov', '-scrub', '-size', '1g', '-verbose'] + '-format', 'UDBZ', arguments.target_diskimage, '-ov', '-scrub', '-size', '1500m', '-verbose'] subprocess.check_call(dmg_cmd) # sleep a few seconds to make sure disk image is fully unmounted etc time.sleep(5)