diff mbox series

[v2,3/3] configs/olimex_imx233_olinuxino: add hashes for Linux & U-Boot

Message ID 20240506200858.30197-3-francois.perrad@gadz.org
State Accepted
Headers show
Series [v2,1/3] configs/olimex_imx233_olinuxino: bump Linux and U-Boot | expand

Commit Message

Francois Perrad May 6, 2024, 8:08 p.m. UTC
and enable BR2_DOWNLOAD_FORCE_CHECK_HASHES

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
---
 .../imx233_olinuxino/patches/linux-headers/linux-headers.hash | 1 +
 board/olimex/imx233_olinuxino/patches/linux/linux.hash        | 2 ++
 board/olimex/imx233_olinuxino/patches/uboot/uboot.hash        | 2 ++
 configs/olimex_imx233_olinuxino_defconfig                     | 4 ++++
 4 files changed, 9 insertions(+)
 create mode 120000 board/olimex/imx233_olinuxino/patches/linux-headers/linux-headers.hash
 create mode 100644 board/olimex/imx233_olinuxino/patches/linux/linux.hash
 create mode 100644 board/olimex/imx233_olinuxino/patches/uboot/uboot.hash
diff mbox series

Patch

diff --git a/board/olimex/imx233_olinuxino/patches/linux-headers/linux-headers.hash b/board/olimex/imx233_olinuxino/patches/linux-headers/linux-headers.hash
new file mode 120000
index 000000000..5808d92af
--- /dev/null
+++ b/board/olimex/imx233_olinuxino/patches/linux-headers/linux-headers.hash
@@ -0,0 +1 @@ 
+../linux/linux.hash
\ No newline at end of file
diff --git a/board/olimex/imx233_olinuxino/patches/linux/linux.hash b/board/olimex/imx233_olinuxino/patches/linux/linux.hash
new file mode 100644
index 000000000..1dba724d0
--- /dev/null
+++ b/board/olimex/imx233_olinuxino/patches/linux/linux.hash
@@ -0,0 +1,2 @@ 
+# Locally computed
+sha256  88b69611093613ce4494527685f833af0c31b986dcbeda7086f69f18f9e0b190  linux-6.1.83.tar.xz
diff --git a/board/olimex/imx233_olinuxino/patches/uboot/uboot.hash b/board/olimex/imx233_olinuxino/patches/uboot/uboot.hash
new file mode 100644
index 000000000..c1aeddf06
--- /dev/null
+++ b/board/olimex/imx233_olinuxino/patches/uboot/uboot.hash
@@ -0,0 +1,2 @@ 
+# Locally computed
+sha256  18a853fe39fad7ad03a90cc2d4275aeaed6da69735defac3492b80508843dd4a  u-boot-2024.04.tar.bz2
diff --git a/configs/olimex_imx233_olinuxino_defconfig b/configs/olimex_imx233_olinuxino_defconfig
index 7049cfeac..d45c55ada 100644
--- a/configs/olimex_imx233_olinuxino_defconfig
+++ b/configs/olimex_imx233_olinuxino_defconfig
@@ -5,6 +5,10 @@  BR2_arm926t=y
 # Linux headers same as kernel, a 6.1 series
 BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y
 
+# Build
+BR2_GLOBAL_PATCH_DIR="board/olimex/imx233_olinuxino/patches"
+BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
+
 # System
 BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0"
 BR2_SYSTEM_DHCP="eth0"