[Buildroot-users] how to force-check hash for extra file?

Thomas Petazzoni thomas.petazzoni at bootlin.com
Wed Mar 26 09:51:26 UTC 2025


Hello David,

On Wed, 26 Mar 2025 09:49:00 +0100
David Picard <david.picard at clermont.in2p3.fr> wrote:

> In a home-made package, in addition to a Git repo, I need to download a 
> binary file. I do it with curl in a pre or post download hook.
> 
> I provided a .hash file for the package. Buildroot actually checks the 
> Git tarball hash, but not the other file's. How can I force it ?

Use <pkg>_EXTRA_DOWNLOADS, instead of manually using curl in a pre or
post download hooks.

Best regards,

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com


More information about the buildroot-users mailing list