[Buildroot] Hash check for a file inside a git repo?

Bryce Johnson bryce at redpinelabs.com
Fri Nov 4 17:42:20 UTC 2022


Hi All,
Is it possible to use the hash check on a file that is contained in a
git repo?  I have a tarball (along with the hash) provided from a 3rd
party that I put in a git repo on the local network. I was thinking of
using buildroot's hash check to automate the check for me.  It looks
like it works fine on the complete git repo download, but I wanted to
only check that one file.

It looked like it was possible here:
https://github.com/buildroot/buildroot/blob/master/docs/manual/adding-packages-directory.txt#L512

# md5 from: http://www.foosoftware.org/download/libfoo-1.2.3.tar.bz2.md5,
sha256 locally computed:
md5  2d608f3c318c6b7557d551a5a09314f03452f1a1  libfoo-data.bin
sha256  01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b
 libfoo-data.bin

I assumed libfoo-data.bin lives in libfoo-1.2.3.tar.bz2?

Looks like I could work-around and use the _LICENSE_FILES but that
only gets checked on the make legal-info?

Bryce



More information about the buildroot mailing list