[Buildroot] [PATCH 3/4] package/opencv: add hashes for patch and license files

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Thu Nov 2 12:33:50 UTC 2017


Hello,

On Wed,  1 Nov 2017 21:11:36 +0100, Samuel Martin wrote:
> Signed-off-by: Samuel Martin <s.martin49 at gmail.com>
> ---
>  package/opencv/opencv.hash | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/package/opencv/opencv.hash b/package/opencv/opencv.hash
> index 85a3e0b8f4..31bbaf6777 100644
> --- a/package/opencv/opencv.hash
> +++ b/package/opencv/opencv.hash
> @@ -1,2 +1,6 @@
>  # Locally calculated
>  sha256 fb4769d0119c35426c3754b7fb079b407911e863958db53bdec83c7794582e41  opencv-2.4.13.3.tar.gz
> +sha256 934825dcbd68ec46936d5b12f4734d07fffc864226a9122e46a23c55d0e5bb5c  0001-atomic.patch
> +sha256 f211b79c126021de2f553e894bb5d0896be542289e8f55f5289eba45c86f5d6e  0002-CMakeLists.txt-Do-not-add-libdl-to-LINKER_LIBS-for-s.patch
> +sha256 78622658634e0297588037e26e54ee37754f739e30336184921f42f4888cda7f  0003-Update-OpenCVCompilerOptions.cmake.patch
> +sha256 46e42877dfc3ac65769292cb4dc1a04b204ad9e40859a390f4c035d6179fbcc4  LICENSE

Since when are we adding hashes for patches that are stored in
Buildroot itself? We are not doing this for any other package, and the
package infrastructure is not even checking the hashes for patches
available locally I believe.

So I've tweaked your patch to only add the license file hash, and
applied.

Thanks!

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



More information about the buildroot mailing list