Re: #yocto -zeus #yocto

Martin Jansa

> Note went and modified ./meta/recipes-core/ovmf/ to use "http"...

That is clearly wrong, you shouldn't change the git:// at the beginning of SRC_URI, just the ";protocol=git" to ";protocol=https" parameter later in SRC_URI.

On Tue, Nov 3, 2020 at 3:41 PM Monsees, Steven C (US) via <> wrote:

Note went and modified ./meta/recipes-core/ovmf/ to use "http"...

When I change to use http I get the following error now, NOTE: I see the same error with new check sum values every time I update checksums and rebuild...

WARNING: ovmf-native-edk2-stable201905-r0 do_fetch: Checksum mismatch for local file /disk0/scratch/smonsees/yocto/workspace_3/downloads/intel/edk2.git
Cleaning and trying again.
WARNING: ovmf-native-edk2-stable201905-r0 do_fetch: Renaming /disk0/scratch/smonsees/yocto/workspace_3/downloads/intel/edk2.git to /disk0/scratch/smonsees/yocto/workspace_3/downloads/intel/edk2.git_bad-checksum_e5feebc5dc55e02d9d26c3ecce2f696c
WARNING: ovmf-native-edk2-stable201905-r0 do_fetch: Checksum failure encountered with download of;branch=master;protocol=https - will attempt other sources if available
ERROR: ovmf-native-edk2-stable201905-r0 do_fetch: Fetcher failure for URL: ';branch=master;protocol=https'. Checksum mismatch!
File: '/disk0/scratch/smonsees/yocto/workspace_3/downloads/intel/edk2.git' has md5 checksum e5feebc5dc55e02d9d26c3ecce2f696c when b285f3c0bc1fc983c4c3eb2d47fc27bc was expected
File: '/disk0/scratch/smonsees/yocto/workspace_3/downloads/intel/edk2.git' has sha256 checksum df09a56b38195dc68d1a83f31287e38669c165eb637739660216bbc71aa694af when bb9d1df02a645dcd071d2d0540156be96c3c5a616ef93ff9872bd86b3c35e77e was expected
If this change is expected (e.g. you have upgraded to a new version without updating the checksums) then you can use these lines within the recipe:
SRC_URI[md5sum] = "e5feebc5dc55e02d9d26c3ecce2f696c"
SRC_URI[sha256sum] = "df09a56b38195dc68d1a83f31287e38669c165eb637739660216bbc71aa694af"
Otherwise you should retry the download and/or check with upstream to determine if the file has become corrupted or otherwise unexpectedly modified.

ERROR: ovmf-native-edk2-stable201905-r0 do_fetch: Fetcher failure for URL: ';branch=master;protocol=https'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /disk0/scratch/smonsees/yocto/workspace_3/meta-bae/meta-limws/builds/sbcb-default/tmp/work/x86_64-linux/ovmf-native/edk2-stable201905-r0/temp/log.do_fetch.19694
ERROR: Task (virtual:native:/disk0/scratch/smonsees/yocto/workspace_3/poky/meta/recipes-core/ovmf/ failed with exit code '1'

Join { to automatically receive all group messages.