diff mbox series

[4/4] configs/nezha_defconfig: add hashes for Linux/opensbi/u-boot

Message ID 20240324180130.1590984-4-peter@korsgaard.com
State Accepted
Headers show
Series [1/4] configs/nezha_defconfig: use OpenSBI 1.4 | expand

Commit Message

Peter Korsgaard March 24, 2024, 6:01 p.m. UTC
And enable BR2_DOWNLOAD_FORCE_CHECK_HASHES.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
 board/nezha/patches/linux-headers/linux-headers.hash | 1 +
 board/nezha/patches/linux/linux.hash                 | 2 ++
 board/nezha/patches/opensbi/opensbi.hash             | 2 ++
 board/nezha/patches/uboot/uboot.hash                 | 2 ++
 configs/nezha_defconfig                              | 2 ++
 5 files changed, 9 insertions(+)
 create mode 120000 board/nezha/patches/linux-headers/linux-headers.hash
 create mode 100644 board/nezha/patches/linux/linux.hash
 create mode 100644 board/nezha/patches/opensbi/opensbi.hash
 create mode 100644 board/nezha/patches/uboot/uboot.hash
diff mbox series

Patch

diff --git a/board/nezha/patches/linux-headers/linux-headers.hash b/board/nezha/patches/linux-headers/linux-headers.hash
new file mode 120000
index 0000000000..5808d92afe
--- /dev/null
+++ b/board/nezha/patches/linux-headers/linux-headers.hash
@@ -0,0 +1 @@ 
+../linux/linux.hash
\ No newline at end of file
diff --git a/board/nezha/patches/linux/linux.hash b/board/nezha/patches/linux/linux.hash
new file mode 100644
index 0000000000..899adefd07
--- /dev/null
+++ b/board/nezha/patches/linux/linux.hash
@@ -0,0 +1,2 @@ 
+# Locally calculated
+sha256  23e3e7b56407250f5411bdab95763d0bc4e3a19dfa431d951df7eacabd61a2f4  linux-6.6.22.tar.xz
diff --git a/board/nezha/patches/opensbi/opensbi.hash b/board/nezha/patches/opensbi/opensbi.hash
new file mode 100644
index 0000000000..bc4058abe6
--- /dev/null
+++ b/board/nezha/patches/opensbi/opensbi.hash
@@ -0,0 +1,2 @@ 
+# Locally calculated
+sha256  319b62a4186fbce9b81a0c5f0ec9f003a10c808397a72138bc9745d9b87b1eb1  opensbi-1.4.tar.gz
diff --git a/board/nezha/patches/uboot/uboot.hash b/board/nezha/patches/uboot/uboot.hash
new file mode 100644
index 0000000000..7d05185938
--- /dev/null
+++ b/board/nezha/patches/uboot/uboot.hash
@@ -0,0 +1,2 @@ 
+# Locally calculated
+sha256  36db7c20b179f03aa29009565c6b34380d5629fd5c57ed110244594d9930dfed  uboot-2e89b706f5c956a70c989cd31665f1429e9a0b48.tar.gz
diff --git a/configs/nezha_defconfig b/configs/nezha_defconfig
index e717c8a08d..c234b3e243 100644
--- a/configs/nezha_defconfig
+++ b/configs/nezha_defconfig
@@ -1,5 +1,7 @@ 
 BR2_riscv=y
 BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_6=y
+BR2_GLOBAL_PATCH_DIR="board/nezha/patches"
+BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
 BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y
 BR2_SYSTEM_DHCP="eth0"
 BR2_ROOTFS_OVERLAY="board/nezha/overlay"