Commit Graph

1626 Commits

Author SHA1 Message Date
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
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
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 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 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 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 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 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