configs/rock5b: add hash for custom kernel
Commitd344ffe624
(configs/rock5b: add hash for custom uboot) explicitly noted that the kernel was retrieved from a git-clone, so the sha1 of the commit was enough to get what we expect. However, that does not account for the fact that the upstream repository can disapear or be temporarily unavailable (maliciously or not). In that case, the kernel archive will be looked up on the backup mirror. In that case, the download is via wget over https, which protects the transport, but does not guarantee that the remote server serves the expected archive. The hash file was dropped whend344ffe624
was applied; restore it. Since the defconfig now has hashes for all its downloads, enforce checking hashes. Signed-off-by: Kilian Zinnecker <kilian.zinnecker@mail.de> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
parent
d344ffe624
commit
9ebbfeff38
2
board/radxa/rock5b/patches/linux/linux.hash
Normal file
2
board/radxa/rock5b/patches/linux/linux.hash
Normal file
@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 a5eca7b8f929a1918125e2e4fbd7ab4ea5b3910b5ae4547e81c794b47373ffb5 linux-52f51a2b5ba178f331af62260d2da86d7472c14b-br1.tar.gz
|
@ -6,6 +6,7 @@ BR2_ROOTFS_POST_SCRIPT_ARGS=""
|
||||
BR2_TARGET_GENERIC_HOSTNAME="rock5b"
|
||||
BR2_TARGET_GENERIC_ISSUE="Welcome to the rock5b board"
|
||||
BR2_GLOBAL_PATCH_DIR="board/radxa/rock5b/patches"
|
||||
BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
|
||||
BR2_SYSTEM_DHCP="eth0"
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_GIT=y
|
||||
|
Loading…
Reference in New Issue
Block a user