mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Auto merge of #17161 - servo:jdm-patch-1, r=cbrewster
Set the initial disk image size for mac packages. Attempting to fix https://github.com/servo/servo/issues/16644 per https://apple.stackexchange.com/questions/156994/yosemite-hdiutil-create-failed-error-5341. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/17161) <!-- Reviewable:end -->
This commit is contained in:
commit
5c3b9ef3a0
1 changed files with 5 additions and 1 deletions
|
@ -274,7 +274,11 @@ class PackageCommands(CommandBase):
|
|||
os.remove(dmg_path)
|
||||
|
||||
try:
|
||||
subprocess.check_call(['hdiutil', 'create', '-volname', 'Servo', dmg_path, '-srcfolder', dir_to_dmg])
|
||||
subprocess.check_call(['hdiutil', 'create',
|
||||
'-volname', 'Servo',
|
||||
'-megabytes', '900',
|
||||
dmg_path,
|
||||
'-srcfolder', dir_to_dmg])
|
||||
except subprocess.CalledProcessError as e:
|
||||
print("Packaging MacOS dmg exited with return value %d" % e.returncode)
|
||||
return e.returncode
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue