Changes to bitbake/OE checksum policy

Hi, more SPAM, sorry

I am behind a proxy which blocks ftp traffic (stupid I know). To get around this I was doing things like

export GNU_MIRROR = “http://ftp.gnu.org/gnu

in my local.conf. Now the policy of bitbake WRT checking the checksums of packages seems to have changed. Basically conf/checksums.ini looks like this

[ftp://ftp.gnu.org/gnu/m4/m4-1.4.11.tar.gz]
md5=988aa098326d5f2b5b5aa4b3efe8d528
sha256=c67b759d96471c9337d3b9f0ab2e1308f461a7dba445cfe0c3750db15b7ca77f

and is (obvioulsy) missing the entry for my case, which is

[http://ftp.gnu.org/gnu/m4/m4-1.4.11.tar.gz]
md5=988aa098326d5f2b5b5aa4b3efe8d528
sha256=c67b759d96471c9337d3b9f0ab2e1308f461a7dba445cfe0c3750db15b7ca77f

I dont want to have to change all the checksums to match the mirror I am using, so I was wondering if I could just tell BB/OE to not check them. Othewise the build fails with

NOTE: package m4-native-1.4.11-r0: task do_fetch: started
DEBUG: update_data()
ERROR: m4-native-1.4.11: http://ftp.gnu.org/gnu/m4/m4-1.4.11.tar.gz has no entry in conf/checksums.ini, not checking URI
ERROR: Error in executing: /home/john.stower/beagle/oe/org.openembedded.dev/packages/m4/m4-native_1.4.11.bb
ERROR: Exception:<type ‘exceptions.SystemExit’> Message:1
ERROR: Printing the environment of the function

Thanks

John

There is a patch under review which makes it only match filenames
instead of full URIs, but in the mean time:

OE_ALLOW_INSECURE_DOWNLOADS = "1"

in you local.conf.

regards,

Koen