mirror of
https://github.com/grahampugh/macadmin-scripts.git
synced 2025-12-17 09:46:00 +00:00
macOS 26 updates
This commit is contained in:
parent
77e507e435
commit
85c643e684
@ -74,6 +74,9 @@ DEFAULT_SUCATALOGS = {
|
||||
'-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog',
|
||||
'24': 'https://swscan.apple.com/content/catalogs/others/'
|
||||
'index-15-14-13-12-10.16-10.15-10.14-10.13-10.12-10.11-10.10-10.9'
|
||||
'-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog',
|
||||
'25': 'https://swscan.apple.com/content/catalogs/others/'
|
||||
'index-26-15-14-13-12-10.16-10.15-10.14-10.13-10.12-10.11-10.10-10.9'
|
||||
'-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog'
|
||||
}
|
||||
|
||||
@ -152,7 +155,8 @@ def get_default_catalog():
|
||||
|
||||
def make_sparse_image(volume_name, output_path):
|
||||
'''Make a sparse disk image we can install a product to'''
|
||||
cmd = ['/usr/bin/hdiutil', 'create', '-size', '16g', '-fs', 'HFS+',
|
||||
# note: for macOS 26 Tahoe we needed to increase the size
|
||||
cmd = ['/usr/bin/hdiutil', 'create', '-size', '20g', '-fs', 'HFS+',
|
||||
'-volname', volume_name, '-type', 'SPARSE', '-plist', output_path]
|
||||
try:
|
||||
output = subprocess.check_output(cmd)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user