[Buildroot] [PATCH 1/1] pkg-generic: fix no-check-hash for inferred site method
luca at lucaceresoli.net
Mon Jun 25 21:01:27 UTC 2018
On 25/06/2018 03:41, Ricardo Martincoski wrote:
> Currently, when the site method is explicitly set to a SCM other than
> git, the main download is correctly excluded from being hash-checked.
> But when the site method is inferred from the site uri, the download
> from a SCM other than git is wrongly being hash-checked.
> Fix this by moving the code that excludes SCM methods from hash-check
> below the code that infers the site method.
> Signed-off-by: Ricardo Martincoski <ricardo.martincoski at gmail.com>
> Cc: Luca Ceresoli <luca at lucaceresoli.net>
> Cc: Maxime Hadjinlian <maxime.hadjinlian at gmail.com>
> Cc: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
> Cc: Yann E. MORIN <yann.morin.1998 at free.fr>
> All packages in the tree that use those site methods currently
> explicitly set the site method.
> $ make -s printvars VARS=%_SITE_METHOD | grep '=\(bzr\|cvs\|hg\|svn\)'
Apologies, but I couldn't understand what this commit is supposed to
fix. From your description above I understand you're fixing packages
whose method is inferred (i.e. not explicitly set). But here you list
packages which explicitly set it.
Which one are you fixing exactly? Can you provide an example package
that your patch fixes?
BTW I couldn't find in Buildroot any package whose method is an SCM
other than git and is not explicitly set.
More information about the buildroot