From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] linuxptp: bump to the latest version
Date: Sun, 10 Sep 2017 08:04:32 +0200 [thread overview]
Message-ID: <20170910080432.0a6bc7b6@windsurf.lan> (raw)
In-Reply-To: <a9a2f132-bb2f-a79e-cd8e-4116ae096691@jikos.cz>
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
next prev parent reply other threads:[~2017-09-10 6:04 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-09 17:17 [Buildroot] [PATCH 1/1] linuxptp: bump to the latest version Petr Kulhavy
2017-09-09 20:08 ` Thomas Petazzoni
2017-09-09 20:53 ` Petr Kulhavy
2017-09-10 6:04 ` Thomas Petazzoni [this message]
2017-09-10 9:24 ` Yann E. MORIN
2017-09-10 10:31 ` Petr Kulhavy
2017-09-10 18:18 ` Yann E. MORIN
2017-09-10 18:40 ` Thomas Petazzoni
2017-09-10 23:30 ` Petr Kulhavy
2017-09-11 20:04 ` Yann E. MORIN
2017-09-10 9:57 ` Petr Kulhavy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170910080432.0a6bc7b6@windsurf.lan \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox