Commit Graph

2236 Commits

Author SHA1 Message Date
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
Shiva Tripathi
d079d1b155 Added fix to avoid crash while creating icon due to CGImageSourceCopyPropertiesAtIndex, in macOS 10.15.4 and above (#987) 2020-04-08 07:20:02 -07:00
Greg Neagle
291a740dd1 Bumping version for next release 2020-03-25 19:30:02 -07:00
Greg Neagle
b0530adf4f Remove orphaned packages as part of a repo cleanup 2020-03-23 07:17:49 -07:00
Greg Neagle
bf5c9d9b0d Properly decode installer error output under Python 3 2020-03-11 10:48:50 -07:00
Christopher Grande
997ad69379 When checking for com.apple.quarantine xattr when copying from dmg, do not follow symlink (#983) 2020-03-06 10:07:55 -08:00
Greg Neagle
11d978bdb3 Add iBridge/T1/T2 into to machine 'facts' dictionary 2020-03-02 16:32:13 -08:00
Greg Neagle
957c3c38b3 Change version.plist to reflect intended next release version 2020-02-26 15:43:00 -08:00
Greg Neagle
d13f9efb98 Update installedsize for Mojave and Catalina installers to current worst-case Apple requirements 2020-02-26 14:42:50 -08:00
Greg Neagle
307a9c1d38 Disable the delayed authrestart stuff in osinstaller.py for now 2020-02-26 14:23:41 -08:00
Greg Neagle
c871268eeb Revert univeral_newliness stuff for launchd's subprocess call 2020-02-26 14:19:29 -08:00
Greg Neagle
e2d6f99857 Fix bad format string 2020-02-19 14:57:31 -08:00
Greg Neagle
91eb8b0c21 Fix broken prefs import 2020-02-19 14:53:14 -08:00
Greg Neagle
8b2ffa3fb3 Add more useful info to munkilib.autorestart.client.test() 2020-02-19 14:46:10 -08:00
Greg Neagle
4c42d69782 More fixes for parsing startosinstall output 2020-02-19 08:44:08 -08:00
Greg Neagle
fc7f65ddb6 Fix for reading error output from launchd when using universalnewlines 2020-02-19 08:43:26 -08:00
Greg Neagle
d88a0a729f Improved attempts to parse Catalina installer progress messages 2020-02-18 15:28:37 -08:00
Greg Neagle
5bbc657b87 Attempt to deal with Catalina's startosinstall output formatting 2020-02-18 14:23:18 -08:00
Greg Neagle
db92cc0e1b Make sure IAQuitInsteadOfReboot preference is NOT set if we're going to let startosinstall handle the reboot 2020-02-18 14:22:06 -08:00
Greg Neagle
58936f9d52 Clean up logging messages around macOS install and delayed auth restarts 2020-02-13 14:25:25 -08:00
Greg Neagle
dcb9b17e31 Bump version for future release 2020-02-13 11:07:11 -08:00
Greg Neagle
ac189e4942 refactor the delayed authrestart code in osinstaller 2020-02-13 11:06:29 -08:00
Greg Neagle
ee7391c69a Add capability to set up a delayed authrestart on 10.12+. When running startosinstall set up a delayed authrestart if possible. 2020-02-13 08:38:07 -08:00
Greg Neagle
c6a029d613 Update version.plist for future release versioning 2020-02-10 08:57:04 -08:00
Greg Neagle
f57336eb3c More protection against badly-defined LoggingLevel in Munki's prefs 2020-02-06 16:06:49 -08:00
Greg Neagle
5fdc5f809b When removing existing destination items before copying from a dmg, properly handle symlinks and regular files. 2020-02-06 15:08:13 -08:00
Greg Neagle
002b40f62c Line length and continued indentation fixes 2020-01-28 21:44:54 -08:00
macmule
2c659b146e Update repoclean (#976)
* Update repoclean

Added --auto flag

* Update repoclean

added missed recommended changes
2020-01-28 21:38:31 -08:00