[Buildroot] [PATCH] package/cache-calibrator: fix legal-info

Peter Korsgaard peter at korsgaard.com
Mon Jul 3 22:06:35 UTC 2017


>>>>> "Yann" == Yann E MORIN <yann.morin.1998 at free.fr> writes:

 > cache-calibrator is a single C file that is downloaded as-is, and we
 > patch it. We also use that file as the license file.

 > Thus, the file when it is downloaded has a specific hash, but when
 > saved by legal-info, it has a different hash.

 > However, we can't store two different hashes for the same _filename_
 > with different content.

 > So, we extract the license file as a pre-patch hook, and store it in a
 > separate file, for which we can now add a hash.

Committed after adding a reference to the autobuilder issue, thanks.

We have the same issue with devmem2, so I've pushed a similar patch for
that.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list