Commit Graph

3486 Commits

Author SHA1 Message Date
Greg Neagle
8a0a2345da Yet another fix for --show-config for items that are forced False on Apple silicon 2021-03-05 09:34:32 -08:00
Elliot Jordan
1e3bb8a8a9 Minor spelling fixes (#1080)
* Fix "criteria" spelling in function name

* Fix "supervisory" spelling in docstring
2021-03-04 09:35:09 -08:00
Greg Neagle
cae5863e95 Update an nb localized string for MunkiStatus to match the equivalent string in MSC.app 2021-03-03 22:15:34 -08:00
Marius Langseth
b39406be75 Update to Norwegian translation (#1069) 2021-03-03 22:09:04 -08:00
Klaus Wik
51a1ab0c92 Change false to False in prefs.py (#1074)
line 310 had value = false which of course fails ;)
2021-02-24 08:07:49 -08:00
Greg Neagle
82b720661a Update copyright dates 2021-02-20 09:12:34 -08:00
Greg Neagle
9a6610a74c Update copyright dates 2021-02-20 09:09:53 -08:00
Greg Neagle
9d3e265cb8 Update copyright dates 2021-02-20 09:05:58 -08:00
Greg Neagle
594c278241 Merge branch 'main' into Munki5dev 2021-02-12 13:36:51 -08:00
Greg Neagle
0620b2330c Fix typos in help text for make_munki_mpkg.sh and make_munki_mpkg_from_git.sh 2021-02-12 13:36:30 -08:00
Greg Neagle
998586a630 Force Apple softwareupdate prefs to false on Apple Silicon 2021-02-09 14:10:47 -08:00
Greg Neagle
49a1fc5bca Set deployment target of munki-notifier to 10.11; other tweaks 2021-02-09 14:08:56 -08:00
Greg Neagle
2dda6b7783 Don't ignore exceptions thrown in app_usage_monitor if given a bad request (one containing a None/nil value) 2021-02-08 17:21:31 -08:00
Greg Neagle
b1df42ab13 Don't ignore exceptions thrown in app_usage_monitor if given a bad request (one containing a None/nil value) 2021-02-08 17:21:15 -08:00
Greg Neagle
88a69af408 Bump version for upcoming release 2021-02-05 10:18:07 -08:00
Greg Neagle
5f680b9862 Python 3 fixes for IOPlatform and sysctl functions ported from Python 2 :-( 2021-02-05 09:12:10 -08:00
Greg Neagle
0f6d817850 In info.py, get the hardware model without calling system_profiler 2021-02-05 08:09:20 -08:00
Greg Neagle
c8b9554d77 Get machine serial number without calling system_profiler. Works around manifest resolution issue when system_profiler times out or otherwise misbehaves. 2021-02-04 16:57:59 -08:00
Greg Neagle
2462b64e64 No longer include a no_python component package in the generated distribution package 2021-02-04 08:10:34 -08:00
Greg Neagle
e1cb5ae8fb app_usage_monitor: don't let app_version be undefined if app_path is falsish 2021-02-03 15:08:18 -08:00
Greg Neagle
9f733b6341 app_usage_monitor: don't let app_version be undefined if app_path is falsish 2021-02-03 15:07:49 -08:00
Greg Neagle
f4fb3a30e3 Merge branch 'main' into Munki5dev 2021-01-19 09:46:42 -08:00
Greg Neagle
053e3eac9e Update pkg pre and postinstall scripts to use os version comparision compatible with Big Sur 2021-01-19 09:46:18 -08:00
Greg Neagle
8b9de80131 Merge branch 'main' into Munki5dev 2020-12-15 08:15:26 -08:00
Greg Neagle
ae28a71550 Improved OS version comparisons taking into account new (Big Sur+) versioning 'style' 2020-12-15 08:15:03 -08:00
Greg Neagle
40779023ad Merge branch 'main' into Munki5dev 2020-12-14 14:33:51 -08:00
Greg Neagle
49625ed975 Fix for Software Update catalog issue with 11.1 2020-12-14 14:33:23 -08:00
Greg Neagle
cae60328ff Merge branch 'main' into Munki5dev 2020-12-09 10:35:43 -08:00
Greg Neagle
16fba06468 Update default banner images to better work with new minimum size 2020-12-09 10:35:20 -08:00
Greg Neagle
1e8cda8d40 Merge branch 'main' into Munki5dev 2020-12-07 22:22:02 -08:00
Greg Neagle
b1d3cd0e1d Fix default logic when clearing web cache 2020-12-07 22:21:25 -08:00
Greg Neagle
fa89b511ea Merge branch 'main' into Munki5dev 2020-12-07 15:50:15 -08:00
Greg Neagle
86a8f19bef Resolve MunkiStatus build issues under Xcode 12.2 2020-12-07 15:49:46 -08:00
Greg Neagle
1d0e3d33e7 Merge branch 'main' into Munki5dev 2020-12-07 15:35:20 -08:00
Greg Neagle
e0f1db2620 Update os version comparison in MunkiStatus to work properly when complied against the Big Sur SDK (10.16.x vs 11.x) 2020-12-07 15:35:04 -08:00
Greg Neagle
a13cb69f79 Merge branch 'main' into Munki5dev 2020-12-07 15:31:06 -08:00
Greg Neagle
40203eea67 Update some other os version comparisons in Managed Software Center so they function correctly when compiled against the Big Sur SDK 2020-12-07 15:30:35 -08:00
Noah
cdc3b40561 Adding managed_updates support for local manifest (#1027)
* 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

* Revert "Support repo-based makecatalogs (#1012)" (#1013)

This reverts commit 98a31e802e.

* Adding managed_updates support for local manifest

Co-authored-by: Taylor Boyko <taylorboyko@gmail.com>
Co-authored-by: Greg Neagle <Gregneagle@mac.com>
Co-authored-by: Noah.Anderson <noah.anderson@target.com>
2020-12-07 10:56:00 -08:00
dhmoore
4c5485d6af = instead of == for POSIX sh compliance (#1063) 2020-12-07 10:53:38 -08:00
Ben Goodstein
7eeed78995 Fixing non-US English localisations (#1062) 2020-12-07 10:49:29 -08:00
Greg Neagle
d270024803 Now actually get the required OS version correct for Dark Mode support 2020-12-07 10:32:16 -08:00
Greg Neagle
0e55893916 Fix os version detection when querying if we're in Dark Mode. Addresses #1060. 2020-12-07 10:24:31 -08:00
Greg Neagle
c2d9578a16 Bump version in version.plist for future release. 2020-12-02 16:44:07 -08:00
Greg Neagle
7f736a4901 Nasty hack to return native processor arch even when running under Rosetta 2020-12-02 16:39:52 -08:00
Kyle Crawford
975f649239 Keep content-length on network connection error so downloads can resume (#1057)
Gurl requires the expected content length in the xattr data in order to
consider resuming a partial download.

When there is a network connection interruption
URLSession_task_didCompleteWithError_ is called with an error.

Prior to this fix content length was always removed from the xattr data
when URLSession_task_didCompleteWithError_ was called so downloads would
never resume after a connection error.

With this fix, content length is only removed from the xattr data when
there is no error since the download would be complete and resuming
would not be necessary.
2020-11-25 09:45:22 -08:00
Ben Goodstein
66acdffc63 fix localisation regression to InfoPlist.strings in xcodeproj (#1059) 2020-11-25 09:43:18 -08:00
Greg Neagle
d9520b8af6 Do not attempt to install Rosetta2 if we're not installing to the current startup disk 2020-11-24 09:11:39 -08:00
Greg Neagle
fcf6e8c7a8 Explictly set hostArchitectures in the Distribution only if -R (Rosetta) option is given; leave undefined (and default) otherwise 2020-11-18 14:46:26 -08:00
eholtam
5fd7f00885 Add rosetta2 option to build script (#1056)
* Added option for Rosetta2 install for ARM hardware.

* Add hostArchitectures option to Distribution for arm64 support

* Removed file based arm64 arch addition attempt to Distribution

* Adjusted hostArchitecture to be a variable, adding arm64 only if Rosetta is included

Co-authored-by: eholtam <(none)>
2020-11-18 14:07:55 -08:00
Greg Neagle
5da152bd76 Change volume-check in mpkg distribution so minimum OS version is 10.11. 2020-11-17 16:57:39 -08:00