[Buildroot] [PATCH 1/4] dhrystone: add a hash file

Vicente Olivert Riera Vincent.Riera at imgtec.com
Thu Dec 3 10:35:01 UTC 2015


Hi Peter,

On 02/12/15 20:45, Peter Korsgaard wrote:
>>>>>> "Vicente" == Vicente Olivert Riera <Vincent.Riera at imgtec.com> writes:
> 
>  > Signed-off-by: Vicente Olivert Riera <Vincent.Riera at imgtec.com>
>  > ---
>  >  package/dhrystone/dhrystone.hash | 2 ++
>  >  1 file changed, 2 insertions(+)
>  >  create mode 100644 package/dhrystone/dhrystone.hash
> 
>  > diff --git a/package/dhrystone/dhrystone.hash b/package/dhrystone/dhrystone.hash
>  > new file mode 100644
>  > index 0000000..9ea22a3
>  > --- /dev/null
>  > +++ b/package/dhrystone/dhrystone.hash
>  > @@ -0,0 +1,2 @@
>  > +# Locally calculated
>  > +sha256 038a7e9169787125c3451a6c941f3aca5db2d2f3863871afcdce154ef17f4e3e  dhry-c
> 
> Hmm, what are we going to do if this file ever changes?

isn't the purpose of the hash files to ensure that we download exactly
what we want to download, so we can make the builds reproducible?

If that file changes, we will notice it thanks to its hash file. You
could ask the same for tarballs. What are we going to do if this
tarballs ever changes?

Regards,

Vincent.


More information about the buildroot mailing list