Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update rpiimager recipes #75

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

paul-cossey
Copy link
Contributor

Hi, @barteklk

The rpiimager recipes are currently failing with the following error

Processor: CodeSignatureVerifier: Error: Code signature verification failed. Note that all verifications can be disabled by setting the variable DISABLE_CODE_SIGNATURE_VERIFICATION to a non-empty value.

This PR has

Output from a successful -v run

autopkg run -v RPiImager.munki.recipe
Looking for com.github.bnpl.autopkg.pkg.rpiimager...
Did not find com.github.bnpl.autopkg.pkg.rpiimager in recipe map
Rebuilding recipe map with current working directories...
Looking for com.github.bnpl.autopkg.pkg.rpiimager...
Found com.github.bnpl.autopkg.pkg.rpiimager in recipe map
Looking for com.github.bnpl.autopkg.download.rpiimager...
Found com.github.bnpl.autopkg.download.rpiimager in recipe map
**load_recipe time: 0.019591708000007202
Processing RPiImager.munki.recipe...
WARNING: RPiImager.munki.recipe is missing trust info and FAIL_RECIPES_WITHOUT_TRUST_INFO is not set. Proceeding...
GitHubReleasesInfoProvider
GitHubReleasesInfoProvider: Matched regex '.*\.dmg' among asset(s): Raspberry.Pi.Imager-1.9.0.dmg
GitHubReleasesInfoProvider: Selected asset 'Raspberry.Pi.Imager-1.9.0.dmg' from tag 'v1.9.0' at url https://github.com/raspberrypi/rpi-imager/releases/download/v1.9.0/Raspberry.Pi.Imager-1.9.0.dmg
URLDownloader
URLDownloader: Storing new Last-Modified header: Wed, 11 Sep 2024 16:57:20 GMT
URLDownloader: Storing new ETag header: "0x8DCD282CD1552AA"
URLDownloader: Downloaded /Users/paul.cossey/Library/AutoPkg/Cache/com.github.bnpl.autopkg.munki.rpiimager/downloads/Raspberry.Pi.Imager-1.9.0.dmg
EndOfCheckPhase
CodeSignatureVerifier
CodeSignatureVerifier: Mounted disk image /Users/paul.cossey/Library/AutoPkg/Cache/com.github.bnpl.autopkg.munki.rpiimager/downloads/Raspberry.Pi.Imager-1.9.0.dmg
CodeSignatureVerifier: Verifying code signature...
CodeSignatureVerifier: Deep verification enabled...
CodeSignatureVerifier: Strict verification not defined. Using codesign defaults...
CodeSignatureVerifier: /private/tmp/dmg.QREonv/Raspberry Pi Imager.app: valid on disk
CodeSignatureVerifier: /private/tmp/dmg.QREonv/Raspberry Pi Imager.app: satisfies its Designated Requirement
CodeSignatureVerifier: /private/tmp/dmg.QREonv/Raspberry Pi Imager.app: explicit requirement satisfied
CodeSignatureVerifier: Signature is valid
AppPkgCreator
AppPkgCreator: Mounted disk image /Users/paul.cossey/Library/AutoPkg/Cache/com.github.bnpl.autopkg.munki.rpiimager/downloads/Raspberry.Pi.Imager-1.9.0.dmg
AppPkgCreator: Using path '/private/tmp/dmg.GFWhbz/Raspberry Pi Imager.app' matched from globbed '/private/tmp/dmg.GFWhbz/*.app'.
AppPkgCreator: BundleID: org.raspberrypi.imagingutility
AppPkgCreator: Copied /private/tmp/dmg.GFWhbz/Raspberry Pi Imager.app to /Users/paul.cossey/Library/AutoPkg/Cache/com.github.bnpl.autopkg.munki.rpiimager/payload/Applications/Raspberry Pi Imager.app
AppPkgCreator: Connecting
AppPkgCreator: Sending packaging request
AppPkgCreator: Disconnecting
Copier
Copier: Mounted disk image /Users/paul.cossey/Library/AutoPkg/Cache/com.github.bnpl.autopkg.munki.rpiimager/downloads/Raspberry.Pi.Imager-1.9.0.dmg
Copier: Copied /private/tmp/dmg.024vIR/Raspberry Pi Imager.app to /Users/paul.cossey/Library/AutoPkg/Cache/com.github.bnpl.autopkg.munki.rpiimager/Applications/Raspberry Pi Imager.app
MunkiInstallsItemsCreator
MunkiInstallsItemsCreator: Created installs item for /Applications/Raspberry Pi Imager.app
MunkiPkginfoMerger
MunkiPkginfoMerger: Merged {'installs': [{'CFBundleIdentifier': 'org.raspberrypi.imagingutility', 'CFBundleName': 'Raspberry Pi Imager', 'CFBundleShortVersionString': '1.9.0', 'CFBundleVersion': '1.9.0', 'path': '/Applications/Raspberry Pi Imager.app', 'type': 'application', 'version_comparison_key': 'CFBundleShortVersionString'}]} into pkginfo
MunkiImporter
MunkiImporter: Using repo lib: AutoPkgLib
MunkiImporter:         plugin: FileRepo
MunkiImporter:           repo: /Users/Shared/munki_repo
MunkiImporter: Copied pkginfo to: /Users/Shared/munki_repo/pkgsinfo/apps/RPiImager-1.9.0__1.plist
MunkiImporter:            pkg to: /Users/Shared/munki_repo/pkgs/apps/Raspberry Pi Imager-1.9.0__1.pkg
PathDeleter
PathDeleter: Deleted /Users/paul.cossey/Library/AutoPkg/Cache/com.github.bnpl.autopkg.munki.rpiimager/Applications
Receipt written to /Users/paul.cossey/Library/AutoPkg/Cache/com.github.bnpl.autopkg.munki.rpiimager/receipts/RPiImager.munki-receipt-20240920-095159.plist

The following new items were downloaded:
    Download Path                                                                                                             
    -------------                                                                                                             
    /Users/paul.cossey/Library/AutoPkg/Cache/com.github.bnpl.autopkg.munki.rpiimager/downloads/Raspberry.Pi.Imager-1.9.0.dmg  

The following packages were built:
    Identifier                      Version  Pkg Path                                                                                                        
    ----------                      -------  --------                                                                                                        
    org.raspberrypi.imagingutility  1.9.0    /Users/paul.cossey/Library/AutoPkg/Cache/com.github.bnpl.autopkg.munki.rpiimager/Raspberry Pi Imager-1.9.0.pkg  

The following new items were imported into Munki:
    Name       Version  Catalogs  Pkginfo Path                   Pkg Repo Path                          Icon Repo Path  
    ----       -------  --------  ------------                   -------------                          --------------  
    RPiImager  1.9.0    testing   apps/RPiImager-1.9.0__1.plist  apps/Raspberry Pi Imager-1.9.0__1.pkg

- Updated Team ID
- Updated copier path.
Removes a duplicate string with the incorrect path
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