24 Commits

Author SHA1 Message Date
shinjukumiku
96bb710d85
installmacos.py: install_product: set CM_BUILD
Set CM_BUILD env var in install_product()

This makes it possible to install machine-specific OS builds on 'non-supported' hardware
for example, 10.14.4 (18E2034) on machines that aren't iMac19,1 or iMac19,2.
2020-01-31 11:19:53 +00:00
Greg Neagle
0276ddd1ba Fix bad indent from #27. Addresses #34 and #35. 2019-11-04 15:33:40 -08:00
Carl
1b8a5e9eec
Check if root after processing args
Allows for the `-h/--help` argument to be used without needing to elevate privileges.
2019-10-16 18:56:24 +10:00
Greg Neagle
c9846e8984 Add Catalina sucatalog 2019-09-27 15:37:13 -07:00
Greg Neagle
7d1df62482 In os_installer_product_info better handle the failure to find a server metadata file for a macos product 2019-08-18 09:00:18 -07:00
Greg Neagle
66331c6b5a Work around a very dumb Apple bug in a package postinstall script. 2019-07-31 15:12:58 -07:00
Greg Neagle
ebd27a06c2 Fix to add SeedProgram extended attribute to the install application if --seedprogram option is used 2019-07-03 10:02:31 -07:00
Greg Neagle
9d9bb51ab1 Don't attempt to parse a dist we could not replicate! Addresses #19. 2019-05-28 14:53:50 -07:00
Greg Neagle
7f27257d96 Add plistlib wrapper functions to avoid DeprecationWarnings under Python 3 2019-05-12 12:11:20 -07:00
Greg Neagle
22c91ee3c8 Some post-2to3-conversion cleanup 2019-05-02 20:34:37 -07:00
Greg Neagle
c6c91dca06 Attempt #2 to add Python 3 compatibility 2019-05-02 20:26:00 -07:00
Greg Neagle
1f1615e5a2 Revert Python 3 changes as they relied on a non-standard module.
This reverts commit b3339ef2f8b1091d932e2936fe825ddde31e129d.
2019-05-02 17:21:20 -07:00
Greg Neagle
c7c3ab6c31 Revert Python 3 chnages since they relied on a non-standard module.
This reverts commit adcff204f460bf5a977798661572947d29637a88.
2019-05-02 17:19:18 -07:00
Greg Neagle
adcff204f4 A few post-2to3 optimizations 2019-05-02 09:30:05 -07:00
Greg Neagle
b3339ef2f8 Add Python 3 support to installinstallmacos.py 2019-05-02 06:33:19 -07:00
Greg Neagle
7b16cf5d39 Dynamically determine valid Seed Program names and provide better error message if an unknown Seed Program is given to --seedprogram 2019-02-19 11:34:51 -08:00
Greg Neagle
c0cdf39725 Fix reference to args.sucatalog_url. Fixes #10 2018-10-04 00:56:38 +02:00
Greg Neagle
06179680c2 No longer defaults to Seed Program sucatalog. Use new --seedprogram option to specify CustomerSeed, DeveloperSeed, or PublicSeed if desired. 2018-10-02 18:58:38 +02:00
Greg Neagle
4b68682c81 Add Post Date to listing output 2018-09-20 10:38:39 -07:00
Greg Neagle
314eca5f23 Add SeedProgram xattr to Install macOS app; making a compressed read-only dmg is now the default 2018-08-14 15:26:17 -07:00
Greg Neagle
aca77ebbf2 Get default sucatalog URL from Seeding.framework if possible; handle .gz sucatalogs 2018-08-07 13:50:38 -07:00
Greg Neagle
50ecea40cf Better handle the case where installing the Install macOS distribution fails. 2018-04-02 15:10:52 -07:00
Timothy Sutton
397469774f Handle nested dict elem within auxinfo
- this is present in 091-33271 (10.13.2, build 17C2120)
2017-12-19 09:42:04 -05:00
Greg Neagle
7de1ecab2b First commit 2017-11-09 14:12:03 -08:00