From 6e696e2799372a9d1ab6a5f74b2113f1b413f81d Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Sun, 16 Jun 2024 16:10:43 +0200 Subject: [PATCH] boards/chromebook-elm: force checking hashes Signed-off-by: Yann E. MORIN Cc: Bilal Wasim Signed-off-by: Arnout Vandecappelle (cherry picked from commit 3988f2d9238bc027b5d16219867e8d3c701c0c06) Signed-off-by: Peter Korsgaard --- board/chromebook/elm/patches/linux-headers/linux-headers.hash | 1 + board/chromebook/elm/patches/linux/linux.hash | 2 ++ configs/chromebook_elm_defconfig | 4 ++++ 3 files changed, 7 insertions(+) create mode 120000 board/chromebook/elm/patches/linux-headers/linux-headers.hash create mode 100644 board/chromebook/elm/patches/linux/linux.hash diff --git a/board/chromebook/elm/patches/linux-headers/linux-headers.hash b/board/chromebook/elm/patches/linux-headers/linux-headers.hash new file mode 120000 index 0000000000..5808d92afe --- /dev/null +++ b/board/chromebook/elm/patches/linux-headers/linux-headers.hash @@ -0,0 +1 @@ +../linux/linux.hash \ No newline at end of file diff --git a/board/chromebook/elm/patches/linux/linux.hash b/board/chromebook/elm/patches/linux/linux.hash new file mode 100644 index 0000000000..88aa603ac5 --- /dev/null +++ b/board/chromebook/elm/patches/linux/linux.hash @@ -0,0 +1,2 @@ +# Locally computed +sha256 dcdf99e43e98330d925016985bfbc7b83c66d367b714b2de0cbbfcbf83d8ca43 linux-5.10.tar.xz diff --git a/configs/chromebook_elm_defconfig b/configs/chromebook_elm_defconfig index 827d929631..0e8b6287c3 100644 --- a/configs/chromebook_elm_defconfig +++ b/configs/chromebook_elm_defconfig @@ -35,3 +35,7 @@ BR2_PACKAGE_HOST_PARTED=y BR2_PACKAGE_HOST_UBOOT_TOOLS=y BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SUPPORT=y BR2_PACKAGE_HOST_VBOOT_UTILS=y + +# Misc +BR2_GLOBAL_PATCH_DIR="board/chromebook/elm/patches" +BR2_DOWNLOAD_FORCE_CHECK_HASHES=y