Skip to content

Update GoogleEarth installs_item_path#552

Open
micamsb wants to merge 1 commit into
autopkg:masterfrom
micamsb:GoogleEarth_InstallsArray
Open

Update GoogleEarth installs_item_path#552
micamsb wants to merge 1 commit into
autopkg:masterfrom
micamsb:GoogleEarth_InstallsArray

Conversation

@micamsb

@micamsb micamsb commented May 8, 2026

Copy link
Copy Markdown
Contributor

Description

Hi there,
The MunkiInstallsItemsCreator did not work for Google Earth Pro (empty Installs Array), because the installs_item_paths was not up to date. I adjusted the path and it should work properly now.

autopkg run -vv com.github.autopkg.munki.google-earth

autopkg run -vv com.github.autopkg.munki.google-earth   
Processing com.github.autopkg.munki.google-earth...
WARNING: com.github.autopkg.munki.google-earth is missing trust info and FAIL_RECIPES_WITHOUT_TRUST_INFO is not set. Proceeding...
URLDownloader
{'Input': {'filename': 'GoogleEarth.dmg',
           'url': 'https://dl.google.com/dl/earth/client/advanced/current/googleearthpromac-intel.dmg'}}
URLDownloader: No value supplied for prefetch_filename, setting default value of: False
URLDownloader: No value supplied for CHECK_FILESIZE_ONLY, setting default value of: False
URLDownloader: Storing new Last-Modified header: Tue, 07 Apr 2026 20:19:42 GMT
URLDownloader: Storing new ETag header: "5b23796"
URLDownloader: Downloaded /Users/mica/Library/AutoPkg/Cache/com.github.autopkg.munki.google-earth/downloads/GoogleEarth.dmg
{'Output': {'download_changed': True,
            'etag': '"5b23796"',
            'last_modified': 'Tue, 07 Apr 2026 20:19:42 GMT',
            'pathname': '/Users/mica/Library/AutoPkg/Cache/com.github.autopkg.munki.google-earth/downloads/GoogleEarth.dmg',
            'url_downloader_summary_result': {'data': {'download_path': '/Users/mica/Library/AutoPkg/Cache/com.github.autopkg.munki.google-earth/downloads/GoogleEarth.dmg'},
                                              'summary_text': 'The following '
                                                              'new items were '
                                                              'downloaded:'}}}
EndOfCheckPhase
{'Input': {}}
{'Output': {}}
CodeSignatureVerifier
{'Input': {'expected_authority_names': ['Developer ID Installer: Google LLC '
                                        '(EQHXZ8M8AV)',
                                        'Developer ID Certification Authority',
                                        'Apple Root CA'],
           'input_path': '/Users/mica/Library/AutoPkg/Cache/com.github.autopkg.munki.google-earth/downloads/GoogleEarth.dmg/Install '
                         'Google Earth*.pkg'}}
CodeSignatureVerifier: No value supplied for deep_verification, setting default value of: True
CodeSignatureVerifier: Mounted disk image /Users/mica/Library/AutoPkg/Cache/com.github.autopkg.munki.google-earth/downloads/GoogleEarth.dmg
CodeSignatureVerifier: Using path '/private/tmp/dmg.CNv0C8/Install Google Earth Pro 7.3.7.1155.pkg' matched from globbed '/private/tmp/dmg.CNv0C8/Install Google Earth*.pkg'.
CodeSignatureVerifier: Verifying installer package signature...
CodeSignatureVerifier: Package "Install Google Earth Pro 7.3.7.1155.pkg":
CodeSignatureVerifier:    Status: signed by a developer certificate issued by Apple for distribution
CodeSignatureVerifier:    Notarization: trusted by the Apple notary service
CodeSignatureVerifier:    Signed with a trusted timestamp on: 2026-04-03 22:38:20 +0000
CodeSignatureVerifier:    Certificate Chain:
CodeSignatureVerifier:     1. Developer ID Installer: Google LLC (EQHXZ8M8AV)
CodeSignatureVerifier:        Expires: 2027-02-01 22:12:15 +0000
CodeSignatureVerifier:        SHA256 Fingerprint:
CodeSignatureVerifier:            40 02 6A 12 12 38 F4 E0 3F 7B CE 86 FA 5A 22 2B DA 7A 3A 20 70 FF 
CodeSignatureVerifier:            28 0D 86 AA 4E 02 56 C5 B2 B4
CodeSignatureVerifier:        ------------------------------------------------------------------------
CodeSignatureVerifier:     2. Developer ID Certification Authority
CodeSignatureVerifier:        Expires: 2027-02-01 22:12:15 +0000
CodeSignatureVerifier:        SHA256 Fingerprint:
CodeSignatureVerifier:            7A FC 9D 01 A6 2F 03 A2 DE 96 37 93 6D 4A FE 68 09 0D 2D E1 8D 03 
CodeSignatureVerifier:            F2 9C 88 CF B0 B1 BA 63 58 7F
CodeSignatureVerifier:        ------------------------------------------------------------------------
CodeSignatureVerifier:     3. Apple Root CA
CodeSignatureVerifier:        Expires: 2035-02-09 21:40:36 +0000
CodeSignatureVerifier:        SHA256 Fingerprint:
CodeSignatureVerifier:            B0 B1 73 0E CB C7 FF 45 05 14 2C 49 F1 29 5E 6E DA 6B CA ED 7E 2C 
CodeSignatureVerifier:            68 C5 BE 91 B5 A1 10 01 F0 24
CodeSignatureVerifier: 
CodeSignatureVerifier: Signature is valid
CodeSignatureVerifier: Authority name chain is valid
{'Output': {}}
PkgRootCreator
{'Input': {'pkgdirs': {'Applications': '0775',
                       'Library': '0775',
                       'Library/Internet Plug-Ins': '0775'},
           'pkgroot': '/Users/mica/Library/AutoPkg/Cache/com.github.autopkg.munki.google-earth/unpack/root'}}
PkgRootCreator: Created /Users/mica/Library/AutoPkg/Cache/com.github.autopkg.munki.google-earth/unpack/root
PkgRootCreator: Creating Applications
PkgRootCreator: Created /Users/mica/Library/AutoPkg/Cache/com.github.autopkg.munki.google-earth/unpack/root/Applications
PkgRootCreator: Creating Library
PkgRootCreator: Created /Users/mica/Library/AutoPkg/Cache/com.github.autopkg.munki.google-earth/unpack/root/Library
PkgRootCreator: Creating Library/Internet Plug-Ins
PkgRootCreator: Created /Users/mica/Library/AutoPkg/Cache/com.github.autopkg.munki.google-earth/unpack/root/Library/Internet Plug-Ins
{'Output': {}}
FlatPkgUnpacker
{'Input': {'destination_path': '/Users/mica/Library/AutoPkg/Cache/com.github.autopkg.munki.google-earth/expanded',
           'flat_pkg_path': '/Users/mica/Library/AutoPkg/Cache/com.github.autopkg.munki.google-earth/downloads/GoogleEarth.dmg/Install '
                            'Google Earth*.pkg'}}
FlatPkgUnpacker: No value supplied for skip_payload, setting default value of: False
FlatPkgUnpacker: Mounted disk image /Users/mica/Library/AutoPkg/Cache/com.github.autopkg.munki.google-earth/downloads/GoogleEarth.dmg
FlatPkgUnpacker: Unpacked /private/tmp/dmg.bHNGcf/Install Google Earth Pro 7.3.7.1155.pkg to /Users/mica/Library/AutoPkg/Cache/com.github.autopkg.munki.google-earth/expanded
{'Output': {}}
PkgPayloadUnpacker
{'Input': {'destination_path': '/Users/mica/Library/AutoPkg/Cache/com.github.autopkg.munki.google-earth/unpack/root/Applications',
           'pkg_payload_path': '/Users/mica/Library/AutoPkg/Cache/com.github.autopkg.munki.google-earth/expanded/Google_Earth_Pro.pkg/Payload'}}
PkgPayloadUnpacker: Unpacked /Users/mica/Library/AutoPkg/Cache/com.github.autopkg.munki.google-earth/expanded/Google_Earth_Pro.pkg/Payload to /Users/mica/Library/AutoPkg/Cache/com.github.autopkg.munki.google-earth/unpack/root/Applications
{'Output': {}}
MunkiInstallsItemsCreator
{'Input': {'faux_root': '/Users/mica/Library/AutoPkg/Cache/com.github.autopkg.munki.google-earth/unpack/root',
           'installs_item_paths': ['/Applications/Google Earth Pro.app'],
           'version_comparison_key': 'CFBundleVersion'}}
MunkiInstallsItemsCreator: Created installs item for /Applications/Google Earth Pro.app
{'Output': {'additional_pkginfo': {'installs': [{'CFBundleIdentifier': 'com.Google.GoogleEarthPro',
                                                 'CFBundleName': 'Google Earth '
                                                                 'Pro',
                                                 'CFBundleShortVersionString': '7.3',
                                                 'CFBundleVersion': '7.3.7.1155',
                                                 'minosversion': '10.6.0',
                                                 'path': '/Applications/Google '
                                                         'Earth Pro.app',
                                                 'type': 'application',
                                                 'version_comparison_key': 'CFBundleVersion'}]}}}
MunkiPkginfoMerger
{'Input': {'additional_pkginfo': {'installs': [{'CFBundleIdentifier': 'com.Google.GoogleEarthPro',
                                                'CFBundleName': 'Google Earth '
                                                                'Pro',
                                                'CFBundleShortVersionString': '7.3',
                                                'CFBundleVersion': '7.3.7.1155',
                                                'minosversion': '10.6.0',
                                                'path': '/Applications/Google '
                                                        'Earth Pro.app',
                                                'type': 'application',
                                                'version_comparison_key': 'CFBundleVersion'}]},
           'pkginfo': {'catalogs': ['testing'],
                       'description': 'Take a virtual journey to any location '
                                      'in the world. Explore 3D buildings, '
                                      'imagery, and terrain. Find cities, '
                                      'places and local businesses.',
                       'display_name': 'Google Earth',
                       'name': 'GoogleEarth',
                       'unattended_install': True}}}
MunkiPkginfoMerger: Merged {'installs': [{'CFBundleIdentifier': 'com.Google.GoogleEarthPro', 'CFBundleName': 'Google Earth Pro', 'CFBundleShortVersionString': '7.3', 'CFBundleVersion': '7.3.7.1155', 'minosversion': '10.6.0', 'path': '/Applications/Google Earth Pro.app', 'type': 'application', 'version_comparison_key': 'CFBundleVersion'}]} into pkginfo
{'Output': {'pkginfo': {'catalogs': ['testing'],
                        'description': 'Take a virtual journey to any location '
                                       'in the world. Explore 3D buildings, '
                                       'imagery, and terrain. Find cities, '
                                       'places and local businesses.',
                        'display_name': 'Google Earth',
                        'installs': [{'CFBundleIdentifier': 'com.Google.GoogleEarthPro',
                                      'CFBundleName': 'Google Earth Pro',
                                      'CFBundleShortVersionString': '7.3',
                                      'CFBundleVersion': '7.3.7.1155',
                                      'minosversion': '10.6.0',
                                      'path': '/Applications/Google Earth '
                                              'Pro.app',
                                      'type': 'application',
                                      'version_comparison_key': 'CFBundleVersion'}],
                        'name': 'GoogleEarth',
                        'unattended_install': True}}}
Versioner
{'Input': {'input_plist_path': '/Users/mica/Library/AutoPkg/Cache/com.github.autopkg.munki.google-earth/unpack/root/Applications/Google '
                               'Earth Pro.app/Contents/Info.plist',
           'plist_version_key': 'CFBundleVersion'}}
Versioner: No value supplied for skip_single_root_dir, setting default value of: False
Versioner: Found version 7.3.7.1155 in file /Users/mica/Library/AutoPkg/Cache/com.github.autopkg.munki.google-earth/unpack/root/Applications/Google Earth Pro.app/Contents/Info.plist
{'Output': {'version': '7.3.7.1155'}}
MunkiPkginfoMerger
{'Input': {'additional_pkginfo': {'version': '7.3.7.1155'},
           'pkginfo': {'catalogs': ['testing'],
                       'description': 'Take a virtual journey to any location '
                                      'in the world. Explore 3D buildings, '
                                      'imagery, and terrain. Find cities, '
                                      'places and local businesses.',
                       'display_name': 'Google Earth',
                       'installs': [{'CFBundleIdentifier': 'com.Google.GoogleEarthPro',
                                     'CFBundleName': 'Google Earth Pro',
                                     'CFBundleShortVersionString': '7.3',
                                     'CFBundleVersion': '7.3.7.1155',
                                     'minosversion': '10.6.0',
                                     'path': '/Applications/Google Earth '
                                             'Pro.app',
                                     'type': 'application',
                                     'version_comparison_key': 'CFBundleVersion'}],
                       'name': 'GoogleEarth',
                       'unattended_install': True}}}
MunkiPkginfoMerger: Merged {'version': '7.3.7.1155'} into pkginfo
{'Output': {'pkginfo': {'catalogs': ['testing'],
                        'description': 'Take a virtual journey to any location '
                                       'in the world. Explore 3D buildings, '
                                       'imagery, and terrain. Find cities, '
                                       'places and local businesses.',
                        'display_name': 'Google Earth',
                        'installs': [{'CFBundleIdentifier': 'com.Google.GoogleEarthPro',
                                      'CFBundleName': 'Google Earth Pro',
                                      'CFBundleShortVersionString': '7.3',
                                      'CFBundleVersion': '7.3.7.1155',
                                      'minosversion': '10.6.0',
                                      'path': '/Applications/Google Earth '
                                              'Pro.app',
                                      'type': 'application',
                                      'version_comparison_key': 'CFBundleVersion'}],
                        'name': 'GoogleEarth',
                        'unattended_install': True,
                        'version': '7.3.7.1155'}}}
MunkiImporter
{'Input': {'MUNKI_REPO': '/Users/Shared/munki_repo',
           'pkg_path': '/Users/mica/Library/AutoPkg/Cache/com.github.autopkg.munki.google-earth/downloads/GoogleEarth.dmg',
           'pkginfo': {'catalogs': ['testing'],
                       'description': 'Take a virtual journey to any location '
                                      'in the world. Explore 3D buildings, '
                                      'imagery, and terrain. Find cities, '
                                      'places and local businesses.',
                       'display_name': 'Google Earth',
                       'installs': [{'CFBundleIdentifier': 'com.Google.GoogleEarthPro',
                                     'CFBundleName': 'Google Earth Pro',
                                     'CFBundleShortVersionString': '7.3',
                                     'CFBundleVersion': '7.3.7.1155',
                                     'minosversion': '10.6.0',
                                     'path': '/Applications/Google Earth '
                                             'Pro.app',
                                     'type': 'application',
                                     'version_comparison_key': 'CFBundleVersion'}],
                       'name': 'GoogleEarth',
                       'unattended_install': True,
                       'version': '7.3.7.1155'},
           'repo_subdirectory': 'apps',
           'version_comparison_key': 'CFBundleVersion'}}
MunkiImporter: No value supplied for MUNKI_REPO_PLUGIN, setting default value of: FileRepo
MunkiImporter: No value supplied for MUNKILIB_DIR, setting default value of: /usr/local/munki
MunkiImporter: No value supplied for force_munki_repo_lib, setting default value of: False
MunkiImporter: No value supplied for MUNKI_PKGINFO_FILE_EXTENSION, setting default value of: plist
MunkiImporter: Using repo lib: AutoPkgLib
MunkiImporter:         plugin: FileRepo
MunkiImporter:           repo: /Users/Shared/munki_repo
MunkiImporter: Copied pkginfo to: /Users/Shared/munki_repo/pkgsinfo/apps/GoogleEarth-7.3.7.1155.plist
MunkiImporter:            pkg to: /Users/Shared/munki_repo/pkgs/apps/GoogleEarth-7.3.7.1155.dmg
{'Output': {'munki_importer_summary_result': {'data': {'catalogs': 'testing',
                                                       'icon_repo_path': '',
                                                       'name': 'GoogleEarth',
                                                       'pkg_repo_path': 'apps/GoogleEarth-7.3.7.1155.dmg',
                                                       'pkginfo_path': 'apps/GoogleEarth-7.3.7.1155.plist',
                                                       'version': '7.3.7.1155'},
                                              'report_fields': ['name',
                                                                'version',
                                                                'catalogs',
                                                                'pkginfo_path',
                                                                'pkg_repo_path',
                                                                'icon_repo_path'],
                                              'summary_text': 'The following '
                                                              'new items were '
                                                              'imported into '
                                                              'Munki:'},
            'munki_info': {'_metadata': {'created_by': 'mica',
                                         'creation_date': datetime.datetime(2026, 5, 8, 10, 28, 33),
                                         'munki_version': '7.1.1.5696',
                                         'os_version': '26.4.1'},
                           'autoremove': False,
                           'catalogs': ['testing'],
                           'description': 'Take a virtual journey to any '
                                          'location in the world. Explore 3D '
                                          'buildings, imagery, and terrain. '
                                          'Find cities, places and local '
                                          'businesses.',
                           'display_name': 'Google Earth',
                           'installed_size': 211155,
                           'installer_item_hash': 'd783774421469808b4ae8fbc0f058f8577c6e668d4322c81aba0adc9cf56250e',
                           'installer_item_location': 'apps/GoogleEarth-7.3.7.1155.dmg',
                           'installer_item_size': 84060,
                           'installs': [{'CFBundleIdentifier': 'com.Google.GoogleEarthPro',
                                         'CFBundleName': 'Google Earth Pro',
                                         'CFBundleShortVersionString': '7.3',
                                         'CFBundleVersion': '7.3.7.1155',
                                         'minosversion': '10.6.0',
                                         'path': '/Applications/Google Earth '
                                                 'Pro.app',
                                         'type': 'application',
                                         'version_comparison_key': 'CFBundleVersion'}],
                           'name': 'GoogleEarth',
                           'receipts': [{'installed_size': 23314,
                                         'packageid': 'com.google.Keystone',
                                         'version': '0'},
                                        {'installed_size': 187841,
                                         'packageid': 'com.Google.GoogleEarthPro',
                                         'version': '7.3.0'}],
                           'unattended_install': True,
                           'uninstall_method': 'removepackages',
                           'uninstallable': True,
                           'version': '7.3.7.1155'},
            'munki_repo_changed': True,
            'pkg_repo_path': '/Users/Shared/munki_repo/pkgs/apps/GoogleEarth-7.3.7.1155.dmg',
            'pkginfo_repo_path': '/Users/Shared/munki_repo/pkgsinfo/apps/GoogleEarth-7.3.7.1155.plist'}}
Receipt written to /Users/mica/Library/AutoPkg/Cache/com.github.autopkg.munki.google-earth/receipts/com.github.autopkg.munki-receipt-20260508-122833.plist

The following new items were downloaded:
    Download Path                                                                                      
    -------------                                                                                      
    /Users/mica/Library/AutoPkg/Cache/com.github.autopkg.munki.google-earth/downloads/GoogleEarth.dmg  

The following new items were imported into Munki:
    Name         Version     Catalogs  Pkginfo Path                       Pkg Repo Path                    Icon Repo Path  
    ----         -------     --------  ------------                       -------------                    --------------  
    GoogleEarth  7.3.7.1155  testing   apps/GoogleEarth-7.3.7.1155.plist  apps/GoogleEarth-7.3.7.1155.dmg                  

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant