Skip to content

Bring back ability to make installer images for Catalina and older after commit 522fc7f#133

Merged
gregneagle merged 2 commits into
munki:mainfrom
ubihazard:main
Oct 30, 2025
Merged

Bring back ability to make installer images for Catalina and older after commit 522fc7f#133
gregneagle merged 2 commits into
munki:mainfrom
ubihazard:main

Conversation

@ubihazard

@ubihazard ubihazard commented Oct 30, 2025

Copy link
Copy Markdown
Contributor

Workaround in commit 522fc7f causes installinstallmacos.py no longer being able to make installer images for Catalina, Mojave, and High Sierra.

Closes #132.

@gregneagle

Copy link
Copy Markdown
Contributor

I'm going to merge this, but I'm going to simplify the logic:

If running on macOS < 15.6, use the legacy method of building the disk image (installer -pkg /path/to/dist)
If running on macOS >= 15.6, build the disk image by installing InstallAssistant.pkg. Also, print an error if the requested item does not have InstallAssistant.pkg and therefore cannot be supported under 15.6+

@gregneagle gregneagle merged commit efe68b8 into munki:main Oct 30, 2025
@gregneagle

Copy link
Copy Markdown
Contributor

OK, I've tested the current code in main (as of 1275ba4) and under macOS 26.0.1 it properly builds a Tahoe installer and prints an error if you select a pre-Big Sur installer (now printing that error before it goes to the trouble of spending several minutes downloading the files). I'll leave it to others to test functionality on older OSes and building installers for pre-Big Sur.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unable to build the Catalina image.

2 participants