Skip to content

Enable hash checking for git downloads

Arnout Vandecappelle (Essensium/Mind) buildroot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest16 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/16download/git: create GNU format tar filessupport/download/git+3 -12 replies
2/16aer-inject: remove redundant _SITE_METHODpackage/aer-inject/aer-inject.mk+0 -10 replies
3/16fmc: correct hash filepackage/fmc/fmc.hash+2 -22 replies
4/16linux-firmware: correct hashpackage/linux-firmware/linux-firmware.hash+1 -11 reply
5/16squashfs: correct hashpackage/squashfs/squashfs.hash+1 -11 reply
6/16ubus: add hashpackage/ubus/ubus.hash+2 -21 reply
6/16ubus: add hash+0 -00 replies
7/16uhttpd: add hashpackage/uhttpd/uhttpd.hash+2 -20 replies
8/16vboot-utils: add hashpackage/vboot-utils/vboot-utils.hash+2 -20 replies
9/16linux: exclude from hash check except for latest versionlinux/linux.mk+4 -40 replies
10/16linux-headers: rework hash exclusionpackage/linux-headers/linux-headers.mk+4 -40 replies
11/16uboot: exclude from hash check except for latest versionboot/uboot/uboot.mk+3 -30 replies
12/16barebox: exclude from hash check except for latest versionboot/barebox/barebox.mk+4 -40 replies
13/16at91bootstrap3: exclude from hash when downloading from gitboot/at91bootstrap3/at91bootstrap3.mk+1 -00 replies
14/16mxs-bootlets: exclude from hash when downloading from gitboot/mxs-bootlets/mxs-bootlets.mk+1 -00 replies
15/16arm-trusted-firmware: exclude from hash when downloading from gitboot/arm-trusted-firmware/arm-trusted-firmware.mk+1 -00 replies
16/16pkg-download: enable hash check for git downloadspackage/pkg-download.mk+2 -10 replies

Reviews trailers per patch

1 of 17 patches has a Reviewed-by or Acked-by.

PatchMatthew Weber
1/16
2/16
3/16R-b
4/16
5/16
6/16
6/16
7/16
8/16
9/16
10/16
11/16
12/16
13/16
14/16
15/16
16/16

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Buildroot] [PATCH 00/16] Enable hash checking for git downloads

Since our git downloads are reproducible since a while now, we can actually check the hash of git downloads. This does however still require a number of fixes first.

Patch 1 fixes the case when tar is compiled to generated Posix format tarballs.

Patch 2 is just a cleanup. This patch is optional.

Patch 3-5 fix incorrect hash files, which weren't noticed before because hashes weren't checked.

Patch 6-8 adds a hash for packages that actually have a hash file but set the hash type to 'none'. These patches are optional.

Patches 9-15 add exclusions for the different packages with CUSTOM_GIT configuration.

Patch 16, finally, enables the hash check.

Regards,
Arnout

[PATCH 01/16] download/git: create GNU format tar files [PATCH 02/16] aer-inject: remove redundant _SITE_METHOD [PATCH 03/16] fmc: correct hash file
[PATCH 04/16] linux-firmware: correct hash
[PATCH 05/16] squashfs: correct hash
[PATCH 06/16] ubus: add hash
[PATCH 07/16] uhttpd: add hash
[PATCH 08/16] vboot-utils: add hash
[PATCH 09/16] linux: exclude from hash check except for latest [PATCH 10/16] linux-headers: rework hash exclusion
[PATCH 11/16] uboot: exclude from hash check except for latest [PATCH 12/16] barebox: exclude from hash check except for latest [PATCH 13/16] at91bootstrap3: exclude from hash when downloading from [PATCH 14/16] mxs-bootlets: exclude from hash when downloading from [PATCH 15/16] arm-trusted-firmware: exclude from hash when [PATCH 16/16] pkg-download: enable hash check for git downloads