Skip to content

Latest commit

 

History

History
45 lines (30 loc) · 743 Bytes

File metadata and controls

45 lines (30 loc) · 743 Bytes

oelint.vars.srcurichecksum

severity: error|warning

Example

In any bitbake file

SRC_URI += "ftp://foo;name=f3"

or

SRC_URI += "ftp://foo"

or

SRC_URI += "ftp://foo"
SRC_URI[md5sum] = "d8e8fca2dc0f896fd7cb4cb0031ba249"

Why is this bad?

For any blob fetcher like http, https, ftp, ftps, sftp, s3 or az. a (named) checksum is required.

Ways to fix it

SRC_URI += "ftp://foo;name=f3"
SRC_URI[f3.sha256sum] = "4355a46b19d348dc2f57c046f8ef63d4538ebb936000f3c9ee954a27460dd865"

or

SRC_URI += "ftp://foo"
SRC_URI[sha256sum] = "4355a46b19d348dc2f57c046f8ef63d4538ebb936000f3c9ee954a27460dd865"

or in case of md5sum replace the line by a proper sha256sum