Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Building Munki packages
Building a Munki Installer Package
Milestone releases of the Munki tools are made available here: https://github.com/munki/munki/releases
Automated builds of the Munki installer packages are available at https://munkibuilds.org. These are not official builds, but are made available by a friendly third party.
Building it yourself
You can also build a Munki installer package yourself.
Xcode -- the current build scripts are known to work under Xcode 9, and to fail under Xcode 10. They should work under Xcode 8.
git (which you get for "free" when you install Xcode...)
In a directory you can write to, run:
git clone https://github.com/munki/munki
This will create a new "munki" directory containing the latest git repo. Change into the directory:
Run the build script:
Provide your password when requested (certain steps require sudo).
If the script runs successfully, it will tell you where to find the Installer package:
Distribution package created at /Users/Shared/munki-git/munki/munkitools-22.214.171.12433.pkg.
Building other versions of Munki
You can also build other versions of Munki using the
./code/tools/make_munki_mpkg_from_git.sh -b Munki2 will build the latest (now final) Munki 2 package.
./code/tools/make_munki_mpkg_from_git.sh -b Munki1 will build the latest (now final) Munki 1 package.
You may need an older version of Xcode to successfully build the applications included with Munki 1 and Munki 2, and/or access to older OS X SDKs. Almost certainly this is not worth the effort and you should stick with a pre-built package from the Releases section.
./code/tools/make_munki_mpkg_from_git.sh -b BRANCHNAME will build Munki based on the code in BRANCHNAME.
./code/tools/make_munki_mpkg_from_git.sh -r GIT_REVISION_HASH will build Munki based on the code in a particular Git commit (revision).