[Buildroot] [PATCH 1/1] linuxptp: bump to the latest version

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sun Sep 10 06:04:32 UTC 2017


Hello,

On Sat, 9 Sep 2017 22:53:06 +0200, Petr Kulhavy wrote:

> > Why are you removing the hash ?  
> Well, I was just following the BR manual :-) Where it says that "none" 
> is used for cloned repositories.

From the manual:

"""
Hashes are currently checked for files fetched from http/ftp servers,
Git repositories, files copied using scp and local files. Hashes are
not checked for other version control systems (such as Subversion, CVS,
etc.) because Buildroot currently does not generate reproducible
tarballs when source code is fetched from such version control systems.
"""

But I indeed see:

"""
The none hash type is reserved to those archives downloaded from a
repository, like a git clone, a subversion checkout…
"""

So we have to fix the manual :)

> Is there a command to just clone and compress the repo via BR?
> The <package>-extract make target fails if the hash doesn't exist and 
> consequently deletes the temporary files.

Yeah, it's a bit annoying. If you put a none hash temporarily, then you
can have the tarball downloaded, calculate its hash, and add it. We
also had proposals like https://patchwork.ozlabs.org/patch/791357/ to
help with this.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com


More information about the buildroot mailing list