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

David Picard david.picard at clermont.in2p3.fr
Wed Mar 26 10:33:14 UTC 2025


The problem is that the file is an asset, part of a GitLab release. So 
you need to provide a deploy key to download it. Hence curl:

curl --header 'DEPLOY-TOKEN: XXXX' <URL> --output <OUTPUT_FILE>

Can I provide a deploy key in <pkg>_EXTRA_DOWNLOADS?

David

Le 26/03/2025 à 10:51, Thomas Petazzoni a écrit :
> 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



More information about the buildroot-users mailing list