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
696e40ca8a
More changes to support softwareupdate in Big Sur
2020-09-04 16:28:53 -07:00
Greg Neagle
a840bed778
Add default sucatalog for Big Sur
2020-09-04 08:28:15 -07:00
Greg Neagle
d1db5af686
Support for Big Sur softwareupdate percent-done feedback
2020-09-04 08:22:43 -07:00
Greg Neagle
c346a2833d
Add better requirements for 10.15 and 11.0 installs when a pkginfo is generated
2020-08-24 12:16:05 -07:00
Taylor Boyko
b56fb552b4
Support repo-based makecatalogs ( #1012 )
...
* if repo plugin has a makecatalogs method defined, use it instead
* pass options and output_fn to repo makecatalogs method
2020-08-18 16:17:12 -07:00
Greg Neagle
a60e90d5a8
Workaround to reliably get 'real' OS version on Big Sur. Addresses #1009
2020-08-08 07:46:40 -07:00
Greg Neagle
bee2216e8d
Remove most subprocess bufsize and open buffering options to instead use defaults. Addresses several RuntimeWarnings when using Python 3.8.
2020-08-06 21:34:43 -07:00
Greg Neagle
5b50b5cab9
Extract OS version from Big Sur installer app
2020-07-24 09:12:37 -07:00
Greg Neagle
e161a87952
Update install macos app checks for Big Sur
2020-07-23 16:58:11 -07:00
Greg Neagle
3290e519c3
Merge branch 'main' into Munki5dev
2020-07-13 16:42:38 -07:00
Taylor Boyko
f39f98ccf9
do not decode data within _curl() ( #1007 )
2020-07-13 16:41:52 -07:00
Greg Neagle
5d1cfd6764
Bumping version for future release
2020-07-07 14:21:50 -07:00
David Aguilar
3bb91cabca
munki: rename "/usr/local/munki/python" symlink to "munki-python" ( #997 )
...
Avoid masking the system /usr/bin/python by calling our symlink
"munki-python" instead of "python".
Closes #996
2020-07-07 13:58:34 -07:00
Greg Neagle
361b18bcc5
Add logging around non-support for profile installation on certain versions of macOS.
2020-07-07 08:12:44 -07:00
Greg Neagle
09af1c23c6
Don't crash when parsing an item name that endds with a hyphen
2020-07-02 13:26:44 -07:00
Greg Neagle
353d542974
Reorder tasks at the end of a managedsoftwareupdate run so the munkistatus session is told it's done before we send a notification of pending updates.
2020-06-30 20:43:06 -07:00
Greg Neagle
6806c5dbed
Remove no-longer-used loginwindow import
2020-06-29 11:49:37 -07:00
Greg Neagle
36d8195b54
When MSC.app opens the Software Update preferences pane for a user to initiate a software update, clear all the the loginwindow/startup trigger files so that Munki does not attempt to install updates at the same time Apple Software Update may be installing.
2020-06-29 11:48:02 -07:00
Greg Neagle
5f389c1daa
Fix unfortunate typo
2020-06-29 08:57:18 -07:00
Greg Neagle
d2d2c14dd5
When /Users/Shared/.com.googlecode.munki.checkandinstallatstartup or /Users/Shared/.com.googlecode.munki.installatstartup are used, skip the run if we are at the loginwindow because of a logout and not because of a restart.
2020-06-26 14:58:56 -07:00
Greg Neagle
0fcea40276
Bump version for future release.
2020-06-26 09:47:31 -07:00
Greg Neagle
959496cb54
Fixes for appleupdates.au.software_updates_available()
2020-06-26 09:35:34 -07:00
Greg Neagle
f81fe08056
Don't clear AppleUpdates.plist if we cannot (currently) reach the softwareupdate server. Prevents UpdateNotificationTracking.plist from losing track of Apple updates when an internal softwareupdate replica is not always available (for example, when available only via VPN)
2020-06-26 09:21:44 -07:00
Greg Neagle
4227fff158
another pass at making the softwareupdate check a little more efficient
2020-06-15 14:54:05 -07:00
Greg Neagle
c53be5860e
Clear bootstrap mode if there are no Munki updates and no Apple updates we can actually install without user help.
2020-05-26 10:46:16 -07:00
Greg Neagle
6851449d5e
Bump version to 5.0.0 for future release
2020-05-12 18:46:35 -07:00
Greg Neagle
cd4bbe1002
Ignore force_install_after_date keys for Apple updates in macOS 10.14 and later
2020-05-12 10:54:41 -07:00
Greg Neagle
acc0f8a038
Add AggressiveUpdateNotificationDays to default prefs and (therefore) output of --show-config
2020-05-11 09:35:51 -07:00
Greg Neagle
9e18c67a1b
A far too large commit that extends obnoxious mode to Munki updates that have been pending a long time and to updates that will be forced soon.
2020-05-10 18:35:00 -07:00
Greg Neagle
9273e90730
For launchd jobs that might live past managedsoftwareupdate, don't use the shared tmpdir
2020-05-08 16:25:38 -07:00
Greg Neagle
4ee9fe4fea
When the list of apple updates to be installed is filtered to an empty list, return a restart action integer and not False
2020-05-08 09:32:00 -07:00
Greg Neagle
b4817c6f3d
Split the nvram variable value output on a comma, as originally intended.
2020-05-07 16:11:06 -07:00
Greg Neagle
2d90875f91
Move bridgeos_update_staged() function to osutils; allows osinstaller, appleupdates, and managedsoftwareupdate to call it.
2020-05-07 14:54:49 -07:00
Greg Neagle
1d4030aa44
Check nvram for evidence a BridgeOS update is staged; if so, shutdown instead of restart.
2020-05-07 09:19:23 -07:00
Greg Neagle
63df06dca4
Merge branch 'master' into manualsoftwareupdate
2020-05-04 13:43:57 -07:00
Greg Neagle
46cf0d05f1
Properly decode installer error output before storing it with installer stdout, so that later if we have to display/print it we don't trigger an exception if we have both stdout and stderr captured.
2020-05-04 13:43:12 -07:00
Greg Neagle
d10857d434
Handle AppUsageClientError exception when processing app usage events in app_usage_monitor
2020-04-27 14:56:47 -07:00
Greg Neagle
b5f302d38a
Merge branch 'master' into manualsoftwareupdate
2020-04-27 08:57:31 -07:00
Greg Neagle
6dff4db5d8
Catch some unhandled exceptions in appusaged
2020-04-27 08:54:40 -07:00
Greg Neagle
2575452cd6
Skip image verification when mounting disk images prior to install
2020-04-24 16:11:02 -07:00
Greg Neagle
992e0d5835
Bumping version for future release
2020-04-17 08:18:40 -07:00
Greg Neagle
95c9b03b62
Merge branch 'Munki4dev' into manualsoftwareupdate
2020-04-14 17:11:44 -07:00
Greg Neagle
0ac6fbd3b6
Don't check AppleUpdates.plist for forced updates if neither InstallAppleSoftwareUpdates or AppleSoftwareUpdatesOnly preferences are true
2020-04-14 17:11:09 -07:00
Greg Neagle
9b6c4c8055
Bumping version of munki tools
2020-04-12 08:22:08 -07:00
Greg Neagle
e01a005e6b
write the installatstartup file as a plist instead of plaintext
2020-04-12 08:16:12 -07:00
Greg Neagle
97796fd905
Log (at debug1) apple updates we're skipping because they require a restart
2020-04-11 16:37:45 -07:00
Greg Neagle
5419366bfc
Add progress output to copy-from-dmg installs
2020-04-11 11:16:29 -07:00
Greg Neagle
ec4b71d059
Add progress output to copy-from-dmg installs
2020-04-11 11:15:47 -07:00
Greg Neagle
af29c98a22
on 10.14+, filter out Apple updates that require a restart when installing
2020-04-11 11:15:09 -07:00