Greg Neagle
fe659e0180
More tweaks to pkginfolib and makepkginfo
2017-11-18 13:18:17 -08:00
Greg Neagle
f0e6e3d1a9
Move some makepkginfo code into a lib module that can be called by other code (like, say munkiimport...)
2017-11-18 12:35:35 -08:00
Greg Neagle
11bc22b382
Merge branch 'issue814fix' into Munki3dev
2017-11-03 14:26:07 -07:00
Greg Neagle
8e1f2a92b0
More fixes for the missing NetFS.kNAUIOptionKey, NetFS.kNAUIOptionNoUI, and NetFS.kNetFSAllowSubMountsKey constants in High Sierra.
2017-11-03 14:18:32 -07:00
Greg Neagle
4cfdddcd97
Possible fix for issue #814
2017-10-25 09:06:56 -07:00
Greg Neagle
2b0f9a47ef
Re-write AppleUpdates.plist after installing unattended Apple Updates. Attempt at addressing #804 .
2017-10-22 09:29:02 -07:00
Greg Neagle
96816ba6cc
PyLint clean up
2017-10-22 08:34:34 -07:00
Greg Neagle
3d7021af8f
Use CoreGraphics and Image I/O to convert icns to png, preserving embedded ColorSync info under macOS < 10.13
2017-10-19 12:48:30 -07:00
Arjen van Bochoven
21927438ae
Localized pkgsinfo support ( #809 )
...
* Add support for localized_strings in pkgsinfo files
* Update Munkiitems.py
Use NSBundle.preferredLocalizationsFromArray_forPreferences_ instead of
NSLocale.currentLocale
* Move localized_strings to GenericItem
And add localized_strings to iteminfo
* Add localized_strings to munkiimport
2017-10-13 09:03:05 -07:00
Greg Neagle
b60bd34580
Bump version for development.
2017-10-09 11:52:53 -07:00
Greg Neagle
2462981994
Don't ignore the value of RestartAction for configuration profile installs. Fixes #808 .
2017-10-09 11:50:00 -07:00
Greg Neagle
e13c21e21e
Prevent an issue on 10.13 when mounting a repo in the cli admin tools by hardcoding certain NetFS constants.
2017-09-18 10:27:37 -07:00
Greg Neagle
eb17f853fb
Don't set overall restartflag to False if a nopkg item doesn't require restart. Thanks to @chymb
2017-09-12 14:13:06 -07:00
Greg Neagle
2c5d2a0006
osinstaller: always initiate restart if startosinstall quits and has sent us SIGUSR1
2017-09-11 11:18:28 -07:00
Greg Neagle
54713665be
Tweaks around restart handling after a successful startosinstall run
2017-09-11 09:44:38 -07:00
Greg Neagle
c45b5e854b
munkiimport: When attempting to get info on existing pkgs in the repo, only print a warning about failure to read catalogs/all if there are any items in pkgsinfo. Better first-import experience for new repos.
2017-09-08 11:00:46 -07:00
Greg Neagle
2aa7cee702
Merge branch 'Munki3dev' into fv_bootstrapping
2017-09-05 16:42:17 -07:00
Greg Neagle
05ff4fa799
Warn user if creating pkginfo or importing a 'stub' Install macOS.app
2017-09-05 16:41:42 -07:00
Greg Neagle
48957bb615
Merge branch 'Munki3dev' into fv_bootstrapping
2017-09-05 10:36:44 -07:00
Greg Neagle
e1ccdae4fa
Add the (presumed) default Apple softwareupdate CatalogURL to the list of OS-specific CatalogURLs in appleupdates/sync.py
2017-09-05 10:35:48 -07:00
Greg Neagle
b64f62cc2f
Merge branch 'Munki3dev' into fv_bootstrapping
2017-09-01 08:22:59 -07:00
Clayton Burlison
1c54ff3219
fix: Correct issue with Auth Restart ( #800 )
...
An invalid RecoveryKey can be set that causes FoundationPlist to throw
a ValueError. If this happens no restart happens. Instead we should log
the error and revert to a non-auth restart.
2017-09-01 08:20:49 -07:00
Greg Neagle
738d4c3680
Merge branch 'Munki3dev' into fv_bootstrapping
2017-08-31 18:42:06 -07:00
eholtam
0e256e0ce3
Add uninstall-pkg command to managed_uninstalls in manifestutil ( #797 )
...
* Add move-install-to-uninstall command to move a pkg from managed_installs to managed_uninstalls in manifestutil
* Made this sub-command hard coded to remove from managed_installs and add to managed_uninstalls.
* Renamed command to move-install-to-uninstall
2017-08-31 18:41:18 -07:00
Greg Neagle
af03ccf993
Avoid calling system_profiler when importing munkilib/fetch, which then means faster startup of managedsoftwareupdate
2017-08-31 15:04:54 -07:00
Greg Neagle
8910c8a155
Updated comments
2017-08-31 15:04:27 -07:00
Greg Neagle
c55cb84c3d
Avoid calling system_profiler when importing munkilib/fetch, which then means faster startup of managedsoftwareupdate
2017-08-31 15:00:42 -07:00
Greg Neagle
99d902b638
New bootstrapping.py to manage bootstrap mode; disable FV user autologin when in bootstrap mode
2017-08-31 13:39:30 -07:00
Greg Neagle
e3e44a4544
Update to osinstaller.py to prevent 'Helper tool crashed' message from appearing in MunkiStatus output.
2017-08-25 14:37:55 -07:00
Yoann Gini
04b33642b3
An option to silently skip pkg check ( #795 )
...
Add --skip-pkg-check (-s) option
This PR add a manual option to skip the pkg_check process in addition to PackageCompleteURL & PackageURL based detection.
Manual request for this option is usefull when a unique server contain data and metadata but both are push from different sources. (Like GIT + rsync)
The difference with the force option rely in the warning message that are avoided here and the check done on the metadata part aren't skiped.
2017-08-23 15:34:43 -07:00
Greg Neagle
b6567fc645
Store os_version when caching apple sucatalog and purge if our current os version does not match; check for producy key existence before trying to cache product metadata
2017-08-18 17:14:54 -07:00
Greg Neagle
89e2faf7cc
Adjust installed_state logic which seems was exactly backwards
2017-08-18 15:28:35 -07:00
Greg Neagle
744840d85a
Address issue #791 -- follow symlinks when getting a list of items in a FileRepo
2017-08-01 10:03:43 -07:00
Greg Neagle
1ab3e19c97
Add support for specifying additional options to startosinstall tool.
2017-07-27 08:24:35 -07:00
Greg Neagle
4d1571f2a8
Avoid unhandled TypeError when trying to read binary plists with plistlib when makecatalogs is run against non-Apple Python
2017-07-26 16:09:21 -07:00
Greg Neagle
2826e601b4
Display an error and exit if no repo URL is defined or provided instead of crashing
2017-07-24 09:36:39 -07:00
Greg Neagle
39c2672fdd
Correct order of preferences 'level' search.
2017-07-20 10:28:09 -07:00
Greg Neagle
a2cd572b74
Add --show-config option to managedsoftwarecenter
2017-07-18 13:41:45 -07:00
Greg Neagle
ebbbd3a1f8
Fix for boot_volume_is_cs_converting(); thanks to @tcinbis
2017-07-11 10:34:51 -04:00
Greg Neagle
f1be44faf9
Move remove_from_selfserve_* functions from installer to manifestutils to prevent an import loop in removepackages
2017-07-06 14:22:10 -07:00
Greg Neagle
471f400f8c
Only show updates for higher OSes if the ShowOptionalInstallsForHigherOSVersions preference is true
2017-07-05 08:16:16 -07:00
Greg Neagle
4250ab564f
munkiimport: When creating a disk image, explicitly specify HFS+ format
2017-07-03 12:56:32 -07:00
Greg Neagle
81630647eb
Display problem updates on Updates page in Managed Software Center.app
2017-07-03 12:55:38 -07:00
Greg Neagle
065044afc6
munkilib/osinstaller.py: Check CoreStorage conversion process before starting macOS install
2017-06-30 10:26:48 -07:00
Greg Neagle
c8f3053f2f
Suppress 'Rejected item' warnings when processing optional_installs
2017-06-30 08:22:41 -07:00
Greg Neagle
ad9c08856d
More changes to support showing optional item updates that require user action to install -- like updating macOS version or making disk space available.
2017-06-29 15:08:15 -07:00
Greg Neagle
ea7b9b2ae9
Display items in optional installs that require a higher OS if we can't find an applicable version to incentivize OS upgrades/updates
2017-06-27 22:38:12 -07:00
Greg Neagle
2ff3bf3bdd
Merge branch 'master' into Munki3dev
2017-06-27 08:40:33 -07:00
Greg Neagle
a7c43cf337
Fix for postflights always reporting a runtype of 'osinstall'. See #784
2017-06-27 08:40:08 -07:00
Samuel Keeley
a66e52fd57
Don't hash icon hashes plist ( #783 )
2017-06-16 21:44:49 -07:00