Commit Graph

9 Commits

Author SHA1 Message Date
Greg Neagle
053e3eac9e Update pkg pre and postinstall scripts to use os version comparision compatible with Big Sur 2021-01-19 09:46:18 -08:00
dhmoore
4c5485d6af = instead of == for POSIX sh compliance (#1063) 2020-12-07 10:53:38 -08:00
Greg Neagle
d9520b8af6 Do not attempt to install Rosetta2 if we're not installing to the current startup disk 2020-11-24 09:11:39 -08:00
eholtam
5fd7f00885 Add rosetta2 option to build script (#1056)
* Added option for Rosetta2 install for ARM hardware.

* Add hostArchitectures option to Distribution for arm64 support

* Removed file based arm64 arch addition attempt to Distribution

* Adjusted hostArchitecture to be a variable, adding arm64 only if Rosetta is included

Co-authored-by: eholtam <(none)>
2020-11-18 14:07:55 -08:00
Graham Gilbert
401f521f48 Add cleanup scripts (#1025)
* Run cleanup scripts if they're there

* Cleanup script, add to build script

* okay

* I'm all shelled out

* Comment for future greg
2020-09-16 14:05:08 -07:00
Greg Neagle
e1b5d505bc Revert "Revert "munki: rename "/usr/local/munki/python" symlink to "munki-python" (#997)""
IOW, restore the rename of "/usr/local/munki/python" symlink to "munki-python" (#997)

This reverts commit b9f9fffccc.
2020-09-15 16:46:34 -07:00
Greg Neagle
aa66b4cda5 Don't do any attempted cleanup of the Python framework so that Munki-driven updates of Munki don't crash mid-upgrade 2020-09-15 14:54:37 -07:00
Greg Neagle
b9f9fffccc Revert "munki: rename "/usr/local/munki/python" symlink to "munki-python" (#997)"
This change is still a good future goal, but is causing problems that are too difficult to work around right now and is delaying the vital release of Munki 5.1 for Big Sur compatibility.

This reverts commit 3bb91cabca.
2020-09-15 09:04:47 -07:00
Greg Neagle
03c822ece2 Move pkg scripts into code/tools/pkgresources 2020-08-22 15:33:38 -07:00