Greg Neagle
f9d4bef2da
Fixes to not reimport an item that is already in the repo
2022-08-29 13:45:43 -07:00
Greg Neagle
81b20fe764
Don't display an error if StagedOSInstaller.plist doesn't exist.
2022-08-29 09:22:05 -07:00
Greg Neagle
734c8dcd3f
Add staged os installer to the UpdateNotificationTracking.plist
2022-08-29 08:55:19 -07:00
Greg Neagle
d3281e9f39
Tweak help text for --installer-type option
2022-08-29 08:54:11 -07:00
Greg Neagle
32c5885b31
Add support for stage_os_installer items to makepkginfo and munkiimport
2022-08-29 08:51:59 -07:00
Greg Neagle
4ed1b3122c
Clear staged os install info at the start of each update check to ensure we don't have stale info hanging around
2022-08-28 07:32:29 -07:00
Greg Neagle
90d2de3531
Only display alert about staged OS installer if there are other items to be installed
2022-08-27 10:07:55 -07:00
Greg Neagle
b20b9d528b
Allow for staged OS installer to be suppressed; bump version for future release
2022-08-27 07:55:18 -07:00
Greg Neagle
1a9147cd9f
Bumping version for future release
2022-08-27 07:51:13 -07:00
Greg Neagle
bed8709735
Download icon for staged macOS installer if needed
2022-08-25 17:19:20 -07:00
Greg Neagle
b6be68b1e9
Add adminopen to core pkg
2022-08-25 15:44:18 -07:00
Greg Neagle
4aa781ba70
Adding adminopen tool
2022-08-25 15:42:50 -07:00
Greg Neagle
8e13c5285e
Add Apple silicon check when checking for volume ownership
2022-08-25 15:41:42 -07:00
Greg Neagle
f1c56a6af5
MSC app now more explictly tells managedsoftwareupdate to launch an OS installer
2022-08-25 15:39:07 -07:00
Greg Neagle
396cbba913
Add forgotten check for Apple silicon
2022-08-25 15:37:31 -07:00
Greg Neagle
7baca5ca7b
MSC.pp: warn user they cannot upgrade macOS if they are not a volume owner on Apple silicon
2022-08-25 15:35:58 -07:00
Greg Neagle
51b9dfe148
Add osinstaller.swift to project
2022-08-25 15:28:31 -07:00
Greg Neagle
370a46dcf5
MSC.app: add some functions to help tell if user is volume owner
2022-08-25 15:27:47 -07:00
Greg Neagle
528281bdd0
Some refactoring
2022-08-25 15:26:52 -07:00
Greg Neagle
456ef3228b
Add support in MSC.app for staged macOS installers
2022-08-25 09:54:02 -07:00
Greg Neagle
73efdab65e
managedsoftwareupdate: check for staged macOS installer
2022-08-25 09:52:47 -07:00
Greg Neagle
c79eb81146
Refactor and refine recording of staged macOS installer
2022-08-25 09:52:00 -07:00
Greg Neagle
9d618d828f
For staged os installers, handle both intended or newer OS already installed _and_ staged installer presence (or not)
2022-08-24 16:48:17 -07:00
Greg Neagle
b23a0c535e
Use the correct pkginfo dict when recording info about a staged macOS installer
2022-08-24 15:47:05 -07:00
Greg Neagle
3a9731e973
Fix parsing of StagedOSInstaller.plist; consume stderr (and stdout) of startosinstall --usage so it doesn't get barfed into the output of managedsoftwareupdate
2022-08-24 15:45:56 -07:00
Greg Neagle
e2ac949124
Initial commit of changes around staging macOS installers and helping users manually launch them
2022-08-24 14:52:11 -07:00
Greg Neagle
513f311039
PyLint cleanups
2022-08-12 17:20:37 -07:00
Greg Neagle
5c2fbda46c
PyLint cleanups; fix an issue with appleupdates.installableUpdates()
2022-08-12 17:15:29 -07:00
Greg Neagle
de48bf0221
Merge branch 'main' into Munki5dev
2022-08-10 13:33:20 -07:00
eholtam
6b1d82f430
Update make_munki_mpkg_from_git flags to match the changes in make_muinki_mpkg.sh. ( #1144 )
...
Authored-by: eholtam <(none)>
v5.7.3
2022-08-10 13:04:29 -07:00
danhutchings
5a8cca76b9
Add raised exception to manifest retrieval output ( #1143 )
...
When running `managedsoftwareupdate` without an internet connection, the below error will happen:
```
ERROR: Could not retrieve managed install primary manifest.
```
This is a rare, but possible situation. Other Munki libraries add the raised exception to the output (ex: download.py). This PR includes a change that will add the raised exception to the manifest retrieval in `core.py`. Below is an example of the output could look like with these changes:
```
ERROR: Could not retrieve managed install primary manifest.: (-1009, "The Internet connection appears to be offline.")
```
For Munki administrators, this will be helpful when trying to diagnose why a system was unable to retrieve the manifest via log files.
2022-08-10 13:04:09 -07:00
Greg Neagle
c2abd9a496
Increase error detail when copying items from a dmg fails
2022-08-10 13:03:45 -07:00
Greg Neagle
a56401687f
Bump version for future release
2022-08-10 11:26:12 -07:00
Greg Neagle
7811db1c47
Bump version for future release
2022-08-10 11:25:24 -07:00
Greg Neagle
aed1b2b0ce
Merge branch 'main' into Munki5dev
2022-08-10 11:23:15 -07:00
Jim Zajkowski
48632f3905
Change to detecting laptop/desktop by identifying if the system has a battery ( #1153 )
...
* flip machine_type to checking for a battery power source
primary author: @gregneagle, on Slack
* move battery detector to powermgr
2022-08-10 11:22:32 -07:00
Greg Neagle
3a41be24a7
Changes to how Munki works with softwareupdate to attempt to improve reliability
2022-08-04 16:28:56 -07:00
eholtam
701f6bcbb3
Update make_munki_mpkg_from_git flags to match the changes in make_muinki_mpkg.sh. ( #1144 )
...
Authored-by: eholtam <(none)>
2022-06-16 11:56:24 -07:00
danhutchings
3cc0cbb320
Add raised exception to manifest retrieval output ( #1143 )
...
When running `managedsoftwareupdate` without an internet connection, the below error will happen:
```
ERROR: Could not retrieve managed install primary manifest.
```
This is a rare, but possible situation. Other Munki libraries add the raised exception to the output (ex: download.py). This PR includes a change that will add the raised exception to the manifest retrieval in `core.py`. Below is an example of the output could look like with these changes:
```
ERROR: Could not retrieve managed install primary manifest.: (-1009, "The Internet connection appears to be offline.")
```
For Munki administrators, this will be helpful when trying to diagnose why a system was unable to retrieve the manifest via log files.
2022-06-15 16:38:35 -07:00
Greg Neagle
3f4be7ed80
Increase error detail when copying items from a dmg fails
2022-06-15 16:37:46 -07:00
Greg Neagle
1c521c466b
Bumping version for future release
2022-06-15 16:36:45 -07:00
Greg Neagle
516f4ec61d
MSC.app should attempt to open the new Software Updates view in the new System Settings application in macOS 13 Ventura beta
v5.7.2
2022-06-08 13:56:17 -07:00
Greg Neagle
d834d45e1a
Add macOS 13 sucatalog URL
2022-06-08 11:07:38 -07:00
Greg Neagle
8329c6f67b
Bumping versions for future release
2022-06-07 11:51:58 -07:00
Christopher Grande
42334f6fec
Hide baseline separator on < 10.15 ( #1140 )
...
Remove line in updates only mode & full window mode
2022-06-07 11:48:55 -07:00
forvitinn
4748ed7bb8
add PlistReadError to except ( #1142 )
2022-06-07 11:44:23 -07:00
Greg Neagle
0be0e419da
Bump version for future release; tweak logging text when checking for Apple updates
v5.7.1
2022-06-07 08:52:13 -07:00
Greg Neagle
d353d56d75
Adjust some 'softwareupdate -l' logic for Big Sur+ and Apple silicon to (hopefully) more reliably get list of available Apple updates. This has been such a moving target for so long...
2022-06-02 14:18:52 -07:00
Greg Neagle
78db0cc5be
Merge branch 'main' of https://github.com/munki/munki
2022-06-01 13:09:58 -07:00
Greg Neagle
d7532f3c26
Update README.md
2022-05-31 15:14:58 -07:00