[LEDE-DEV] [PATCH] scripts/download.pl: fail loudly if provided hash is unsupported

Baptiste Jonglez baptiste at bitsofnetworks.org
Sun Sep 24 14:20:50 PDT 2017


On 24-09-17, Stijn Tintel wrote:
> My bad. When we update a package, we bump the version in the Makefile
> and remove the current hash, then run "make package/foo/dowload; make
> package/foo/check FIXUP=1". This downloads the tarbal for the new
> version, and FIXUP writes its hash to the Makefile. This is what's
> broken since the change.

Ok, I see the issue now.

As mentioned in the commit message, we definitely should add an explicit
option to download.pl to skip hash verification, and then implement
something like this:

    $ make package/foo/download SKIPHASH=1

What do you think?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/lede-dev/attachments/20170924/c61ab6dc/attachment.sig>


More information about the Lede-dev mailing list