All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] how to force-check hash for extra file?
@ 2025-03-26  8:37 David Picard
  2025-03-26  9:06 ` Baruch Siach via buildroot
  0 siblings, 1 reply; 2+ messages in thread
From: David Picard @ 2025-03-26  8:37 UTC (permalink / raw)
  To: ML_Buildroot

Hi,

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 ?

David
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Buildroot] how to force-check hash for extra file?
  2025-03-26  8:37 [Buildroot] how to force-check hash for extra file? David Picard
@ 2025-03-26  9:06 ` Baruch Siach via buildroot
  0 siblings, 0 replies; 2+ messages in thread
From: Baruch Siach via buildroot @ 2025-03-26  9:06 UTC (permalink / raw)
  To: David Picard; +Cc: ML_Buildroot

Hi David,

On Wed, Mar 26 2025, David Picard 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 ?

Try using PKG_EXTRA_DOWNLOADS. Buildroot should both download the files,
and check their hash. See package/asterisk/ for example.

baruch

-- 
                                                     ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch@tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-03-26  9:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-26  8:37 [Buildroot] how to force-check hash for extra file? David Picard
2025-03-26  9:06 ` Baruch Siach via buildroot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.