forked from qt-creator/qt-creator
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 <eike.ziller@qt.io>
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user