Munki - Pushing packages by CPU Arch
Note: Most software is now available as universal binaries that work for either architecture. When possible, pushing one universal binary to all machines is preferred over pushing two separate versions.- Give the two packages separate filenames, e.g. "Chrome-<version>.dmg" and "Chrome-arm64-<version>.dmg".
- Use munkiimport to import as usual. Make sure to name the items separately, e.g. "Chrome" and "Chrome-arm64".
- When asked if you want to edit the pkginfo file, say yes.
- Edit the pkginfo XML as follows:
- Intel (x64) version:
<key>supported_architectures</key> <array> <string>x86_64</string> </array> <key>installable_condition</key> <string>NOT arch BEGINSWITH "arm"</string>
- Apple Silicon (arm64) version:
<key>supported_architectures</key> <array> <string>arm64</string> </array>
- Intel (x64) version:
- Add both packages to the manifests with manifestutil. The supported_architectures and installable_condition keys will make sure the right one is selected for each client.
Edit • Attach • Print version • History: r3 < r2 < r1 • Backlinks • View wiki text • Edit wiki text • More topic actions